This commit is contained in:
Tben
2023-08-13 11:47:53 +01:00
parent b5a4de3e8f
commit d8995b53f5
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -23,6 +23,7 @@ const decrypt = ({ encryptedString, encryptionKey, encryptionSalt }) => {
decrypted += decipher.final("utf8");
return decrypted;
} catch (error) {
console.log("Error in decrypting =>", error.message);
return null;
}
};