Pick the characters out of writing

This way, you can paste in the entire book of Genesis and find the hidden message
This commit is contained in:
Arinerron 2017-03-29 18:52:02 -07:00
parent f7d579c48d
commit 08ba1ebc7c

View File

@ -161,7 +161,12 @@ $('#go').click(function(){
} }
else else
{ {
var output = decodeURIComponent(binToText(input)); var sanitized = "";
var split = input.split("");
for (var i = 0; i < split.length; i++)
if(split[i] == one || split[i] == zero)
sanitized = sanitized + split[i]
var output = decodeURIComponent(binToText(sanitized));
if ($('#useEncrypt').is(':checked')) if ($('#useEncrypt').is(':checked'))
{ {
if (verifyPass('decrypt')) if (verifyPass('decrypt'))