[PYTHON-CRYPTO] pycrypto with different encryption client

Ti Lyte ty.legette at GMAIL.COM
Mon May 28 05:09:22 CEST 2007


frustrated newb here - i can get the AES pycrypto to work (meaning encrypt
and decrypt) but the problem i'm having is when the encryption is being
performed from another client program (in this case a Javascript client). 
The two clients that I've tried are 1)
http://www.fourmilab.ch/javascrypt/javascrypt.html which uses AES-256 and 2)
http://home.versatel.nl/MAvanEverdingen/Code/.  Both can produce base64
encoded ciphertext and I'm testing with CBC mode. So I'm basically producing
ciphertext with one of these javascript client, base64 decoding with
python's base64 module and trying the decrypt function (using same key of
course) on it and it just produces garbage.  Wondering if the IV has
anything to do with it, i know the first round in CBC using the IV which
none of the javascript clients allow you to set.  Can anyone help plz?? 
Feel free to try anyone of those clients, they both allow you to
encrypt/decrypt with their websites.



More information about the python-crypto mailing list