fork download
  1. import bcrypt
  2.  
  3. hash = b"$2a$10$Lje5S/hP/Fp.fy0x92trd.vH.zkxmPDgMvb8SjLO7w7e7PnuJNdUm"
  4. plaintext = b"112233"
  5.  
  6. if bcrypt.checkpw(plaintext, hash):
  7. print("Match")
  8. else:
  9. print("No match")
  10.  
Success #stdin #stdout 0.27s 19396KB
stdin
Standard input is empty
stdout
Match