> You could encrypt twice (CBC in each direction or something), but that
> will again slow you down by a factor of 2.
You can't easily get away with storing the IV as multiple parts of the IO
pipe like to see blocks in 2^n form.
The approach I take in Rubberhose is to calculate the IV from a
very fast checksum routine and salt.
--
Julian Assange |If you want to build a ship, don't drum up people
|together to collect wood or assign them tasks and
[EMAIL PROTECTED] |work, but rather teach them to long for the endless
[EMAIL PROTECTED] |immensity of the sea. -- Antoine de Saint Exupery