diff --git a/static/cryptopad.html b/static/cryptopad.html index 8f62fd7..ec70254 100644 --- a/static/cryptopad.html +++ b/static/cryptopad.html @@ -114,7 +114,7 @@ return; } var titlehash = hashTitle(title); - var crypted = sjcl.encrypt(key, $("#data").val(), {iter: 2000}); + var crypted = sjcl.encrypt(key, $("#data").val(), {iter: 2000, ks: 256}); setKVSItem(titlehash, crypted); if(curSel != null && curSelName != title) { pads[$.inArray(curSelName, pads)] = title; @@ -135,7 +135,7 @@ } function savePads() { - var crypted = sjcl.encrypt(key, JSON.stringify(pads), {iter: 2000}); + var crypted = sjcl.encrypt(key, JSON.stringify(pads), {iter: 2000, ks: 256}); setKVSItem(hashSomething("pads"), crypted); } @@ -345,4 +345,4 @@ Secured using SJCL with AES-256 in CCM mode and PBKDF2 using SHA256 with 2000 iterations - \ No newline at end of file +