2023-01-16 11:36:39 +00:00
|
|
|
import sha3
|
|
|
|
import pyperclip
|
|
|
|
|
|
|
|
print("Type your password...")
|
|
|
|
password = input()
|
|
|
|
|
|
|
|
hasher = sha3.keccak_256()
|
|
|
|
hasher.update(password.encode())
|
2023-05-01 20:32:36 +00:00
|
|
|
hash = '0x' + hasher.hexdigest()
|
2023-01-16 11:36:39 +00:00
|
|
|
pyperclip.copy(hash)
|
|
|
|
|
2023-05-01 20:32:36 +00:00
|
|
|
print(f'Hash: {hash} is copied to clipboard')
|