SHA1 or MD5 Hashing in Python
import hashlib print hashlib.sha1("My wonderful string").hexdigest() print hashlib.md5("My other wonderful string").hexdigest()
Written by Sean Behan on 06/17/2012