Advertisement
Guest User

Python Hash Vault

a guest
Nov 3rd, 2016
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.52 KB | None | 0 0
  1. import hashlib
  2. m = hashlib.md5()
  3. pws = (("Admin", "b'¥ƒ_ƅMÐ1;2±*öªÝ='"), ("Guest", "hash here"))
  4. print("Welcome to The Vault\nType your username:")
  5. un = input()
  6. lol ="lenny"
  7. m.update(lol.encode('utf-8'))
  8. """if(m.digest()==pws[0][1]):
  9.    print("Access Granted")
  10. if(m.digest()==pws[1][1]):
  11.    print("Access Granted")"""
  12. print("b'¥ƒ_ƅMÐ1;2±*öªÝ='")
  13. print((str)(m.digest()).encode('utf-8'))
  14. if(hashlib.md5(lol.encode('utf-8')).hexdigest()=="b'¥ƒ_ƅMÐ1;2±*öªÝ='".strip()):
  15.     print("Yes")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement