This commit is contained in:
Benjamin Toby
2025-07-10 11:48:20 +01:00
parent a131764e1e
commit 5ab079f687
71 changed files with 1186 additions and 1727 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ export default function decrypt({
keyLen,
algorithm,
bufferAllocSize,
} = grabKeys({ encryptionKey });
} = grabKeys({ encryptionKey, encryptionSalt });
if (!encrptKey?.match(/.{8,}/)) {
if (debug) console.log("Decrption key is invalid");
+1 -1
View File
@@ -29,7 +29,7 @@ export default function encrypt({
keyLen,
algorithm,
bufferAllocSize,
} = grabKeys({ encryptionKey });
} = grabKeys({ encryptionKey, encryptionSalt });
if (!encrptKey?.match(/.{8,}/)) {
console.log("Encryption key is invalid");