Decode any arbitrary text from a set of spaces, tabs and form-feeds encoded with this encoder. Just 135 bytes.
wsdec(hidden_text)
Decode any arbitrary text from a set of spaces, tabs and form-feeds encoded with this encoder. Just 135 bytes.
wsdec(hidden_text)
| function(t){return t.split("\f").map(function(s){return String.fromCharCode(parseInt(s.replace(/\t/g,1).replace(/ /g,0),2))}).join("")} |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| Version 2, December 2004 | |
| Copyright (C) 2013 plugnburn | |
| 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": "wsdec", | |
| "description": "Decode any arbitrary text from a set of spaces, tabs and form-feeds encoded with wsenc encoder", | |
| "keywords": [ | |
| "whitespace", | |
| "text", | |
| "decoder", | |
| "steganography" | |
| ] | |
| } |
The recursive replace pattern is really powerful for 140byt.es challenges: