status-desktop/scripts/password-hash.py
Igor Sirotin 5b5361c9b0
feat(scripts): simple python script to interact with database (#11184)
* fix(scripts): fix `password-hash.py`
2023-06-20 18:27:47 +03:00

10 lines
222 B
Python

import pyperclip
from common import PasswordFunctions
print("Type your password...")
password = input()
hash = PasswordFunctions.hash_password(password)
pyperclip.copy(hash)
print(f'Hash: {hash} is copied to clipboard')