diff --git a/password_gen.py b/password_gen.py new file mode 100644 index 0000000..bee7fde --- /dev/null +++ b/password_gen.py @@ -0,0 +1,14 @@ +# -*- coding: utf-8 -*- +""" +Created on Sun Mar 29 18:13:51 2020 + +@author: cpan +""" + +import hashlib + +passphrase = b'adminadmin' +passhash = hashlib.sha3_512(passphrase).hexdigest() + +with open('password.txt', 'w') as f: + f.write(passhash) \ No newline at end of file