[pycrypto] Typo or bug?
gooksankoo at hoiptorrow.mailexpire.com
Tue Jun 26 08:01:36 EDT 2012
> > Up to pycrypto 2.5, when no iv was provided to new() a string of zeroes
> > automatically used.
> > Depending on your application, that may or may not be a problem. It is
> > to always make iv explicit.
> Which explains why my 'old' code failed. Thanks.
> Needing both key and iv... It sounds like asking for two keys to unlock a
> Is that the idea?
Well, an important difference is that the IV is not a secret, so it's not
really a key,
just a way to randomize the key stream.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pycrypto