-
Hello, may I ask how we could specify the initialization vector to be used, during AES-CBC decryption? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Hey! Thanks for the question, looks like I need to update documentation around this. |
Beta Was this translation helpful? Give feedback.
Hey! Thanks for the question, looks like I need to update documentation around this.
As for now, the only way for this is to prefix the encrypted message with IV. So you should do something like 'cipher.decrypt(iv+ciphertext)'.
I still not sure what is the best way to provide better symmetric (between encryption and decryption) API for this, so it will be safe enough and easy to use