Python Translation of C# DES Encryption

Paul Rubin http
Fri May 12 21:37:36 EDT 2006


Gary Doades <gpd at gpdnet.co.uk> writes:
> http://twhiteman.netfirms.com/des.html

I'm not sure if that's the same DES lib that I used in a project last
year but as I remember, the lib I used had a bug in 3DES CBC mode that
made it give answers incompatible with the NIST test vectors.  It took
considerable head scratching to figure out that the library was
causing the problem.  I ended up switching to a different library.
Anyway, be careful.  The library that I used did handle the 1DES CBC
and 3DES ECB correctly, fwiw.



More information about the Python-list mailing list