Example usage for Java org.bouncycastle.crypto.generators BCrypt fields, constructors, methods, implement or subclass
The text is from its open source code.
byte[] | generate(byte[] password, byte[] salt, int cost) Calculates the bcrypt hash of a password. |
byte[] | passwordToByteArray(char[] password) Converts a character password to bytes incorporating the required trailing zero byte. |