From eadcd60e14c49b5f186cb525ec5fa91cb14f43d9 Mon Sep 17 00:00:00 2001 From: Hexalyse Date: Sun, 30 Aug 2015 15:05:50 +0200 Subject: [PATCH] Password input id change in zerobin.js --- js/zerobin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/zerobin.js b/js/zerobin.js index 08ec2de9..6ff43d6c 100644 --- a/js/zerobin.js +++ b/js/zerobin.js @@ -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)); } /**