6 lines
122 B
Python
6 lines
122 B
Python
|
#!/usr/bin/env python
|
||
|
from passlib.hash import sha512_crypt
|
||
|
import getpass
|
||
|
|
||
|
print sha512_crypt.encrypt(getpass.getpass())
|