145 reputation
4
bio website
location
age
visits member for 2 years, 8 months
seen May 31 '12 at 19:52

Mar
17
comment CBC - a canonical mode, even though there are streaming modes
Streaming mode is developer friendly. You don't have to call cipher.finalize() at the end. You also don't need to create a special buffer (more room for error!) when you are reading from a device with a different block size and/or packet fragmentation.
Mar
12
comment are CFB and OFB really meant for streaming?
Here's the new question.
Mar
11
comment are CFB and OFB really meant for streaming?
Very neat mode, why is everyone stuck with CBC?
Mar
11
comment are CFB and OFB really meant for streaming?
Actually just looking at the diagram at wikipedia there shouldn't be a decryption error, since the last step is an XOR: CFB
Mar
11
comment are CFB and OFB really meant for streaming?
If it simply truncates the last segment, how does it know to correctly decrypt it? I find the name for these block modes deceiving, because there's still a requirement for the data to come in 128/256 bit chunks. Think of it this way: if you get packet fragmentation during transmission you'll get a decryption error, right?