Let's suppose I encrypt a plaintext with one key and a nonce in CTR block cipher mode of operation.

Can I reuse the nonce with another key in another plaintext if I start the block counting with different counters than those used in the first plaintext? I mean (for example), encrypt the first plaintext stopping at the counter 999 and start in the next plaintext with the same key and nonce with counter 1000 and onwards.

  • 1
    $\begingroup$ Consider that two 1000-block plaintexts encrypted with counter values 0..999 and 1000..1999 is not much different from having one longer 2000-block plaintext that gets encrypted with counter values 0..1999. $\endgroup$
    – ilkkachu
    Mar 20, 2023 at 21:03

1 Answer 1


Yes, you can.

While using CTR (GCM, ...) mode of operation, you absolutelly CAN NOT reuse combination of KEY and IV (and counter value for ANY block).

As long as you keep records of what combinations of KEY and IV (and for what counter values), and make sure you do NOT reuse same KEY+IV+counter; your scenario if fine.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.