Question

Any recommendations on an AES encryption library that's compatible with Python 2.7 for Windows?

In the past we've used m2crypto with Python 2.6, but there's no version of m2crypto for Python 2.7 and our attempts to build a version from source have failed.

Thank you, Malcolm

Was it helpful?

Solution

Actually, the M2Crypto package supports Python 2.7 just fine — I have been using it in a cryptography-heavy application with no problem. I suppose the problem here is that Windows does not come with a compiler, so you cannot easily install the .tar.gz off of PyPI? Or are you getting an error when you try to compile it?

I would suggest that the best response to an error would be posting it to Stack Overflow so that we could fix it, instead of asking for alternative to what is — so far as I can tell — the premier cryptography library for Python.

Update: I have now successfully built M2Crypto for Windows under Python 2.7, so I can personally confirm that it works fine with Python 2.7 on all major platforms.

OTHER TIPS

Have you looked at the PyCrypto library?

http://www.dlitz.net/software/pycrypto/

It should be compatible with Python 2.7

You might also take a look at pycryptopp, a wrapper around the Crypto++ library.

http://tahoe-lafs.org/trac/pycryptopp

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top