You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While converting some existing code to the bcrypt API, I ran in to a (very) minor pain-point.
When working with some APIs it is natural for the password to be a char[] (e.g. passed to javax.crypto.spec.PBEKeySpec ctor) and the bcryptHash to be a byte[] (e.g. read fully from a java.io.DataInputStream).
This is probably an advanced use-case, but it would be nice to have Bcrypt.Verifyer.verify(char[] password, byte[] bcryptHash).
The text was updated successfully, but these errors were encountered:
While converting some existing code to the
bcrypt
API, I ran in to a (very) minor pain-point.When working with some APIs it is natural for the
password
to be achar[]
(e.g. passed tojavax.crypto.spec.PBEKeySpec
ctor) and thebcryptHash
to be abyte[]
(e.g. read fully from ajava.io.DataInputStream
).This is probably an advanced use-case, but it would be nice to have
Bcrypt.Verifyer.verify(char[] password, byte[] bcryptHash)
.The text was updated successfully, but these errors were encountered: