Created
July 1, 2014 18:22
-
-
Save steve-chavez/f2cd3e280ab179ea1ed7 to your computer and use it in GitHub Desktop.
Use django hasher to make password
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./manage.py shell | |
from django.contrib.auth.hashers import make_password, HASHERS | |
make_password('test') | |
'pbkdf2_sha256$10000$vkRy7QauoLLj$ry+3xm3YX+YrSXbri8s3EcXDIrx5ceM+xQjtpLdw2oE=' | |
make_password('test', 'abc') | |
'pbkdf2_sha256$10000$abc$MqJS5OAgSmf9SD9mfoY8fgLo8sSKmEcef0AjjMp1Q7w=' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment