Skip to content
Create a gist now

Instantly share code, notes, and snippets.

rehydrate hidden text a la @zoompf
function(
a,
b
){
return a[
b="replace"
](
/./g,
a = function(
a
){
return a[1]
? String.fromCharCode(
parseInt(a, 2)
)
: +(a==" ")
}
)[b](
/.{7}/g,
a
)
}
function(a,b){return a[b="replace"](/./g,a=function(a){return a[1]?String.fromCharCode(parseInt(a,2)):+(a==" ")})[b](/.{7}/g,a)}
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.
{
"name": "hydrate",
"description": "rehydrate hidden text a la @zoompf",
"keywords": [
"obfuscation",
"hiding",
"invisible"
]
}
@tsaniel

What about

function(a,b,c,d,e){for(b=c='';d=a.charCodeAt(c);b+=[[String.fromCharCode(e|=(d&1^1)<<6-c%7)][++c%7||(e=0)]]);return b}
```?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.