[Cryptography] updating a counter
Christian Huitema
huitema at huitema.net
Mon May 19 13:55:03 EDT 2014
> My favorite thing is to use a collection of subcounters.
>
> Most of the subcounters are LFSRs. Some of them shift
> left, and some of them shift right. Between the shifting
> and the XORing, a lot of bits get changed.
Or you could just use CRC32 or CRC64, adding a bit to the CRC checked
message instead of adding 1 to the equivalent counter. You will get to
change half the bits in the counter for each message, and you will have a
long enough non repeat period.
-- Christian Huitema
More information about the cryptography
mailing list