Update password_gen.py
This commit is contained in:
parent
98e28fb5f4
commit
7d2dce00f1
14
password_gen.py
Normal file
14
password_gen.py
Normal file
@ -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)
|
Loading…
x
Reference in New Issue
Block a user