Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. def verify_password(self, password):
  2. logging.info(self.password_hash)
  3. logging.info(str(datetime.now()))
  4. result = check_password_hash(self.password_hash, password)
  5. logging.info(str(datetime.now()))
  6. return result
  7.  
  8. hash:pbkdf2:sha256:......................................
  9. 2017-07-28 13:52:14.904270
  10. 2017-07-28 13:52:17.041060
  11.  
  12. generate_password_hash(secret, method='pbkdf2:sha1:10000')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement