Can the iv used in AES-CTR be stored in clear?

Asked

Viewed 58 times

3

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

1 answer

1

A wikipedia article says (the translation is mine):

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

You don’t need to keep the IV a secret, but you have to make sure it’s one of a kind.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.