Re: AES decrypting in Python

2009-10-07 Thread Stef Mientki
Heikki Toivonen wrote: Mike Driscoll wrote: EVP.Cipher(alg="aes_256_ecb", key=SomeKey, iv=SomeIV, op=dec, padding=False) I don't really see where I pass the data that needs the decrypting though. Can someone shed some light on this? Look at test_AES method in http://svn.osafoundation.

Re: AES decrypting in Python

2009-10-07 Thread Heikki Toivonen
Mike Driscoll wrote: > EVP.Cipher(alg="aes_256_ecb", key=SomeKey, iv=SomeIV, op=dec, > padding=False) > > I don't really see where I pass the data that needs the decrypting > though. Can someone shed some light on this? Look at test_AES method in http://svn.osafoundation.org/m2crypto/trunk/tests/

Re: AES decrypting in Python

2009-10-07 Thread Mike Driscoll
On Oct 7, 10:04 am, "M.-A. Lemburg" wrote: > Mike Driscoll wrote: > > Hi, > > > I am working on a project where I need to decrypt some data that has > > been encrypted with AES. It looks like M2Crypto is the module of > > choice for these sorts of things, but I cannot figure out how to do > > this

Re: AES decrypting in Python

2009-10-07 Thread M.-A. Lemburg
Mike Driscoll wrote: > Hi, > > I am working on a project where I need to decrypt some data that has > been encrypted with AES. It looks like M2Crypto is the module of > choice for these sorts of things, but I cannot figure out how to do > this stuff from the docs. I have the following PHP code tha