[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Cryptography] [RFC] random: add new pseudorandom number generator



Roland C. Dowdeswell <elric AT imrryr.org> writes:

>But, then it occurred to me that maybe you shouldn't throw away 64 perfectly
>good bits for each operation, why not feed them back into the routine?

Even better, you could just feed each block back into the cipher.  It'd have
the effect of chaining the blocks together, so you could call it something
like... oh, I dunno, chained cipher blocks.

This would also deal with the fact that a single glitch in your counter would
break a pure-CTR PRNG.

Peter.

_______________________________________________
The cryptography mailing list
cryptography AT metzdowd.com
https://www.metzdowd.com/mailman/listinfo/cryptography