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

This commit is contained in:
bts committed 2016-11-20 05:02:18 -05:00
1 parent 770293e2d8
commit 22c1f73e12
5 files changed
+397 -2

No files matched your search

+8
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))