public class BouncyCastleBCrypt extends Object implements SaltedHashingAlgorithm
| Modifier | Constructor and Description |
|---|---|
protected |
BouncyCastleBCrypt(BytesRepresentation bytesRepresentation,
String encoding) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
hash(byte[] input,
byte[] salt) |
String |
hash(String input,
String salt) |
protected BouncyCastleBCrypt(BytesRepresentation bytesRepresentation, String encoding)
public byte[] hash(byte[] input,
byte[] salt)
throws HashingException
hash in interface SaltedHashingAlgorithmHashingExceptionpublic String hash(String input, String salt) throws HashingException
hash in interface SaltedHashingAlgorithmHashingExceptionCopyright © 2020. All rights reserved.