I want to use the AES cipher in counter mode and I'm not sure if I can keep the iv (nonce + counter) clear.
I want to use the AES cipher in counter mode and I'm not sure if I can keep the iv (nonce + counter) clear.
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.