Skip to content

Instantly share code, notes, and snippets.

@binki
Last active April 23, 2017 22:22
Show Gist options
  • Save binki/1b974422b9487c37d33bd63159c8d03c to your computer and use it in GitHub Desktop.
Save binki/1b974422b9487c37d33bd63159c8d03c to your computer and use it in GitHub Desktop.
can you break this code
> function decrypt(s) { return Buffer.from([].slice.call(s).reverse().join('').split(' ').map(s => Number.parseInt(s, 2))).toString(); }
undefined
> decrypt('10100110 10110110 11110110 11001110 10100110 11101110 10000110 00000100 10100110 01001110 10000110 00000100 10101110 11110110 10011010')
'You are awesome'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment