Skip to content

Instantly share code, notes, and snippets.

@HyShai
Created January 27, 2014 06:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HyShai/8644176 to your computer and use it in GitHub Desktop.
Save HyShai/8644176 to your computer and use it in GitHub Desktop.
import hashlib
import pbkdf2 #simple-pbkdf2 module (have to download)
t = pbkdf2.pbkdf2_bin('this is a long string password', 'hello@example.com', 5000, 32, hashlib.sha256)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment