|
|
|
|
|
by tptacek
4417 days ago
|
|
A smaller block also gives you less room to maneuver when designing modes of operation; for instance, it can be tricky to implement CTR with a 64 bit block --- the convention is to split the block into "counter" and "nonce", and you need enough space for the counter that it can't conceivably wrap. |
|
I saw that in set three of the crypto challenge, as well, and wondered.
Is it so that you can always start counting at zero when re-starting the application, as long as you're randomly picking a new nonce?
And if you just picked a random counter value at each restart you might get very unlucky and at some point reuse a counter value, so by this convention you're separating counter values belonging to different restarts?