Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from passlib.hash import pbkdf2_sha256 # Encryption Algorithm
- adminPassword = pbkdf2_sha256.hash("sjp") # Hashes the admin password - 'sjp' - using a randomly generated salt
- print(adminPassword) # This string will be stored as the admin password in the main program
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement