diff options
author | Chris Xiong <chirs241097@gmail.com> | 2024-08-17 18:02:09 -0400 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2024-08-17 18:02:09 -0400 |
commit | b249de74433677dc456099395872fcdf47ec6773 (patch) | |
tree | 37170040b03193d94720663aa002a20863086be4 | |
parent | 88ce0e76b4d6f97ab4195af726d5e475ed7a667c (diff) | |
download | web-b249de74433677dc456099395872fcdf47ec6773.tar.xz |
Our encryption salt changed a while ago...
-rw-r--r-- | blog/decryptor.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/blog/decryptor.js b/blog/decryptor.js index c37aa42..d4781e7 100644 --- a/blog/decryptor.js +++ b/blog/decryptor.js @@ -47,7 +47,7 @@ async function decryptor(id,key) { const aes=aesjs,sha256=Sha256; const keyu8=aes.utils.utf8.toBytes(document.getElementById("keyinp").value); - const saltu8=aes.utils.utf8.toBytes('hellwhymustiaddsalttothiscrap'); + const saltu8=aes.utils.utf8.toBytes('mmmdeliciousthermalpasteletmeconsumeallofit'); const enckey=await new Promise( (resolv,rej)=> {scrypt(keyu8,saltu8,1024,16,2,32,(e,p,k)=>{e?rej(e):k?resolv(k):undefined;});} |