Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@nathan
Created December 13, 2014 02:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nathan/0385f3fb6671a052d282 to your computer and use it in GitHub Desktop.
Save nathan/0385f3fb6671a052d282 to your computer and use it in GitHub Desktop.
Obfuscated CoffeeScript
phrase = "Just another CoffeeScript Hacker, "
i = 0
J = (j) -> j
u = (j) -> $ "J"; a j + 14
s = (j) -> $ "n"; r j * 5
t = (j) -> $ "o"; k j * 3 + 13
_ = (j) -> $ "i"; j * 5 + 9
а = (j) -> $ " "; o j + 5
n = (j) -> $ "a"; (j * 5 + 1) % 10
o = (j) -> $ "t"; j * 7 + 19
t = (j) -> $ "s"; j * 3 + 11
H = (j) -> $ ","; _ j - 13
e = (j) -> $ "n"; a j * 5 + 13
r = (j) -> $ "a"; j * 9 + 3
_ = (j) -> $ "c"; S j * 7 + 5
C = (j) -> $ "e"; а с j * 5
o = (j) -> $ "C"; j * 37 + 2
f = (j) -> $ "f"; j * 9 + 7
f = (j) -> $ "S"; S (o i = 7) + i++
e = (j) -> $ "p"; j * 5 + 17
е = (j) -> $ "e"; 7 + 22 * с j * 7 + 2
S = (j) -> $ "H"; 21 + n i + j
с = (j) -> $ "r"; j + 3
r = (j) -> $ "i"; j * 3 + 5
j = (j) -> $ "s"; t j * 9 + 13
p = (j) -> $ "c"; j * 8 + 5
t = (j) -> $ "t"; j * 3 + 14
_ = (j) -> $ "k"; j * 3 + 4
h = (j) -> $ "h"; j * 7 + 13
a = (j) -> $ "u"; j * 3 + 6
c = (j) -> $ "s"; j * 3 + 11
k = (j) -> $ "c"; j * 3 + 9
e = (j) -> $ "k"; е j * 5 + 4
r = (j) -> $ "o"; 2 + t j * 4
_ = (j) -> $ " "; j - 15
$ = (j) -> result += if i is 7 then " " else j
result = ""
try loop i = eval "(#{phrase[i]}(i) + 1) % 32"
console.log result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment