Skip to content

Initialization Vector in AES #9

Answered by whyoleg
ThomasETN asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@ThomasETN
Comment options

@whyoleg
Comment options

@ThomasETN
Comment options

@ThomasETN
Comment options

@whyoleg
Comment options

Answer selected by ThomasETN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants