Securing passwords stored inside of a database field using Python

Andreas Jung andreas at andreas-jung.com
Wed Jan 17 10:53:50 EST 2001


On Wed, Jan 17, 2001 at 05:50:08PM +0300, Oleg Broytmann wrote:
> On Wed, 17 Jan 2001, chris lamb wrote:
> > A one way encryption algorithm? If so what would be recommended by anyone<
> 
>    MD5 or SHA. Python has modules for both. Some databases can create
> hashes for passwords (MySQL can do it with both unix "broken DES" hash and
> MD5).

When it is neccessary to decrypt stored passwords you could try an algorithm
like IDEA. Maybe take a look at the mxCrypto or amkCrypto package for Python.
They implement the most popular crypto algorithms. But take care of the
US export controls for encryption software.

Andreas




More information about the Python-list mailing list