8 lines
141 B
Python
8 lines
141 B
Python
|
#! /usr/bin/env python
|
||
|
|
||
|
# Generate bcrypt hash
|
||
|
|
||
|
import bcrypt
|
||
|
|
||
|
print(bcrypt.hashpw(input("Password: ").encode(), bcrypt.gensalt()).decode())
|