Merge pull request #4 from Arinerron/patch-3
Pick the characters out of writing
This commit is contained in:
commit
2c146fef1a
7
main.js
7
main.js
@ -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'))
|
||||
|
Loading…
Reference in New Issue
Block a user