Wednesday, June 08, 2005

Python Cryptography Toolkit

Python Cryptography Toolkit: "The Toolkit is a collection of cryptographic algorithms and protocols, implemented for use from Python. The current release is 2.0. Among the contents of the package:

* Hash functions: MD2, MD4, RIPEMD, SHA256.
* Block encryption algorithms: AES, ARC2, Blowfish, CAST, DES, Triple-DES, IDEA, RC5.
* Stream encryption algorithms: ARC4, simple XOR.
* Public-key algorithms: RSA, DSA, ElGamal, qNEW.
* Protocols: All-or-nothing transforms, chaffing/winnowing.
* Miscellaneous: RFC1751 module for converting 128-key keys into a set of English words, primality testing.
* Some demo programs (currently all quite old and outdated).

There's a SourceForge project for Python-related cryptography code, the pycrypto project. Use it to report bugs, submit patches, and to get a copy of the current CVS tree. See below for a link to the most recent released version.

A binary distribution for Windows is available from Twisted's contrib/ directory, thanks to Cory Dodt."