and some more changes. fleshed out default/distributed ini file.

This commit is contained in:
2016-11-20 05:02:18 -05:00
parent 770293e2d8
commit 22c1f73e12
5 changed files with 397 additions and 2 deletions

8
extra/bin/hashgen.py Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/env python3
import crypt
import getpass
password = getpass.getpass("\nWhat password would you like to hash/salt?\n(NOTE: will NOT echo back!)\n")
salt = crypt.mksalt(crypt.METHOD_SHA512)
salthash = crypt.crypt(password, salt)
print("\nYour salted hash is:\n\t{0}\n".format(salthash))