-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
jBCrypt is not compatible with bCrypt hashes generated by other implementations, e.g. PHP or https://bcrypt-generator.com/
Caused by: java.lang.IllegalArgumentException: Invalid salt revision
at org.mindrot.jbcrypt.BCrypt.hashpw(BCrypt.java:665)
at org.mindrot.jbcrypt.BCrypt.checkpw(BCrypt.java:764)
e.g. "test" might be hashed as "$2y$10$h5jWvguJlBPJ8/1KkOBRGeApm9dj0430qnHK5iRp4lb2dBL4DhfnK"
jBcrypt expects a hash to start with $2a ..
General question: are you still supporting this library? The repository looks very outdated (last commits years ago..).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels