Using Rotor with password file

Tyler Eaves tyler at cg1.org
Sat Feb 1 21:07:28 EST 2003


Colin Meeks unleashed the following on comp.lang.python:

> Anybody got any ideas??
> 
> Colin

Use MD5 or SHA on the passwords.

These are one way hashes, so you can't recover the password once it's
encrpyted. At first glance, this might appear to make them useless. Be
assured that it does not!

The idea is you encrpyt the password, store in a file. 
When you need to check a user-submitted password, encrypt the the
user-submitted password, and compare the encrypted value to the stored
value. If they match, the passwords match.


-- 
Tyler Eaves




More information about the Python-list mailing list