Skip to content

Instantly share code, notes, and snippets.

@HyShai
Created January 27, 2014 06:55
Show Gist options
  • 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', '[email protected]', 5000, 32, hashlib.sha256)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment