Spotter-VM/ckan/ckan-adminpwd.py

7 lines
111 B
Python
Raw Normal View History

#!/usr/bin/python
import sys
from passlib.hash import pbkdf2_sha512
print pbkdf2_sha512.encrypt(sys.argv[1])