~$ python3 >>> from passlib.context import CryptContext >>> setpw = CryptContext(schemes=['pbkdf2_sha512']) >>> setpw.encrypt('YourNewPassword') Copy the Hash created Ctrl D