PBKDF2 implementation in python.
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
crypton_test.py
pbkdf2.py

README.md

Crypton

PBKDF2 implementation in pyton.

Original package is here.

The idea to create this rep. came from this article

Or you can use PassLib

Usage

from pbkdf2 import crypt

pwhash = crypt("secret")
print pwhash

alleged_pw = raw_input("Enter password: ")
print crypt(alleged_pw, pwhash)

if pwhash == crypt(alleged_pw, pwhash):
    print "Password good"
else:
    print "Invalid password"

Please feel free to improve it if you like :)

image