Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hash(password)
- for(i=0; i++; i < len(password)
- hash(password.deleteChar(i))
- if(hashAndMatch(password)){
- login()
- } else {
- for(i=0; i++; i < len(password){
- if(hashAndMatch(password.deleteChar(i))){
- giveFeedBack()
- break;
- }
- }
- error('Wrong password or username')
- }
Add Comment
Please, Sign In to add comment