mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 13:56:10 +00:00
13 lines
242 B
Python
13 lines
242 B
Python
import sha3
|
|
import pyperclip
|
|
|
|
print("Type your password...")
|
|
password = input()
|
|
|
|
hasher = sha3.keccak_256()
|
|
hasher.update(password.encode())
|
|
hash = '0x' + hasher.hexdigest()
|
|
pyperclip.copy(hash)
|
|
|
|
print(f'Hash: {hash} is copied to clipboard')
|