minoteaur/src/generate_password_hash.py

6 lines
132 B
Python
Raw Normal View History

2021-03-13 22:36:41 +00:00
#!/usr/bin/env python3
import getpass
import argon2
print(argon2.hash_password(getpass.getpass().encode("utf-8")).decode("utf-8"))