Merge pull request #4 from Arinerron/patch-3

Pick the characters out of writing
This commit is contained in:
Kevin Froman 2017-03-29 21:12:37 -05:00 committed by GitHub
commit 2c146fef1a

View File

@ -164,7 +164,12 @@ $('#go').click(function(){
}
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 (verifyPass('decrypt'))