The iv used in AES-CTR can be stored in clear?

Posted on

Question :

I want to use the AES cipher in counter mode and I’m not sure if I can keep the iv (nonce + counter) clear.

    

Answer :

A Wikipedia article says (the translation is mine):

  

A boot vector has different security requirements than a key, so the IV does not need to be secret. However, in most cases, it is important that the boot vector is never reused with the same key.

You do not need to keep iv secret, but you have to make sure it’s unique.

    

Leave a Reply

Your email address will not be published. Required fields are marked *