Advertisement
Guest User

Untitled

a guest
Jan 29th, 2020
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.38 KB | None | 0 0
  1.  
  2. def uncover(hashed_password, password, letter):
  3.  
  4.     print('uncover: ',hashed_password,password,letter)
  5.  
  6.     pass_len = len(password)
  7.  
  8.     for b in range(0,pass_len):
  9.         for i in password:
  10.             if i == letter:
  11.                 hashed_password = hashed_password[:b] + password[b] + hashed_password[(b+1):]
  12.  
  13.     print('uncover2: ', hashed_password)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement