feat(scripts): Added python password hash script for manual database access
This commit is contained in:
parent
2890fe5845
commit
6f7c1c6b6a
|
@ -0,0 +1,12 @@
|
|||
import sha3
|
||||
import pyperclip
|
||||
|
||||
print("Type your password...")
|
||||
password = input()
|
||||
|
||||
hasher = sha3.keccak_256()
|
||||
hasher.update(password.encode())
|
||||
hash = '0x' + hasher.hexdigest().upper()
|
||||
pyperclip.copy(hash)
|
||||
|
||||
print(f'Hash: {hash} is copied to clipboard')
|
Loading…
Reference in New Issue