aes - how to generate initial vector for counter mode of encryption -


I am implementing the CTR mode of encryption using AES. I know how to generate the initial vectors (counter blocks) for this mode.

You get random IV, and after that increase with each new block, such as 16-byte integer Also, as far as I remember, some specifics use zero IV for CTR mode.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -