Created
January 14, 2016 21:58
-
-
Save gnilchee/c65701e192df89deb0de to your computer and use it in GitHub Desktop.
mkpass (for shadow hash making)
This file contains hidden or 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
#!/usr/bin/env python | |
from passlib.hash import sha512_crypt | |
import getpass | |
print("Making a SHA512 Password Hash for Shadow...") | |
print(sha512_crypt.encrypt(getpass.getpass())) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment