Carmarco

AdminPasswordEncryption

Apr 6th, 2017
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.27 KB | None | 0 0
  1. from passlib.hash import pbkdf2_sha256 # Encryption Algorithm
  2.  
  3. adminPassword = pbkdf2_sha256.hash("sjp") # Hashes the admin password - 'sjp' - using a randomly generated salt
  4.  
  5. print(adminPassword) # This string will be stored as the admin password in the main program
Add Comment
Please, Sign In to add comment