Re: Implementing byte stream cipher



Joseph Ashwood <ashwood@xxxxxxx> wrote:
+---------------
| 1) Any cipher mode becomes weaker after 2^(blockSize/2) blocks, for a
| 64-bit cipher this is 32GB, for a 128-bit cipher this is 256,000 PetaBytes
| (295,147,905,179,352,825,856 bytes).
+---------------

Typo, perhaps? 295,147,905,179,352,825,856 is 2^68.
2^(128/2) == 2^64 == 18,446,744,073,709,551,616.


-Rob

-----
Rob Warnock <rpw3@xxxxxxxx>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607

.