9 lines
146 B
Python
9 lines
146 B
Python
import getpass
|
|
|
|
import bcrypt
|
|
|
|
print(
|
|
bcrypt.hashpw(
|
|
getpass.getpass("Password: ").encode("utf-8"), bcrypt.gensalt()
|
|
).decode()
|
|
)
|