Guest User

Untitled

a guest
Oct 24th, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. signUp()
  2.  
  3. username = 'towel'
  4. password = 'southPark'
  5.  
  6. hashedPw = string(40) "28814b583b880d2f9401025efca028f16f52f100"
  7. genSalt => '4e035858b81a81.45491357'
  8.  
  9. All are in the database like that.
  10.  
  11.  
  12. signIn()
  13.  
  14. username = 'towel'
  15. password = 'southPark'
  16.  
  17. hashedPw = "4ecbce56e159fc5ca24974e0b2f102ab670a8771"
  18. saltFromDb = "4e035858b81a81.45491357" (the same as genSalt)
  19.  
  20.  
  21. Hashed aren't equal!
Add Comment
Please, Sign In to add comment