-
|
Hello, The API accepts my payload successfully (I receive the secret ID), but when I open the generated link with the decryptionKey hash, the frontend throws a "Decryption Failed" error or invalid password. I am trying to replicate the browser's encryption logic server-side. Here is my current configuration in javaScript. I am trying to replicate the encryption logic in my script (using AES-256-GCM and PBKDF2). Iterations: Is it 100,000? Thanks for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hey. Here is the code https://github.com/HemmeligOrg/Hemmelig.app/blob/v7/src%2Flib%2Fcrypto.ts |
Beta Was this translation helpful? Give feedback.
Hey.
Here is the code https://github.com/HemmeligOrg/Hemmelig.app/blob/v7/src%2Flib%2Fcrypto.ts