summaryrefslogtreecommitdiff
path: root/blog
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2024-08-17 18:02:09 -0400
committerGravatar Chris Xiong <chirs241097@gmail.com> 2024-08-17 18:02:09 -0400
commitb249de74433677dc456099395872fcdf47ec6773 (patch)
tree37170040b03193d94720663aa002a20863086be4 /blog
parent88ce0e76b4d6f97ab4195af726d5e475ed7a667c (diff)
downloadweb-b249de74433677dc456099395872fcdf47ec6773.tar.xz
Our encryption salt changed a while ago...
Diffstat (limited to 'blog')
-rw-r--r--blog/decryptor.js2
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;});}