Password input id change in zerobin.js

pull/17/head
Hexalyse 9 years ago
parent 1009491721
commit eadcd60e14

@ -119,7 +119,7 @@ function zeroCipher(key, message) {
if ($('input#password').val().length == 0) {
return sjcl.encrypt(key, compress(message));
}
return sjcl.encrypt(key + sjcl.codec.hex.fromBits(sjcl.hash.sha256.hash($("input#password").val())), compress(message));
return sjcl.encrypt(key + sjcl.codec.hex.fromBits(sjcl.hash.sha256.hash($("input#passwordinput").val())), compress(message));
}
/**

Loading…
Cancel
Save