| Package | Description |
|---|---|
| org.sterl.hash |
| Modifier and Type | Method and Description |
|---|---|
static BCryptPbkdf2PasswordHash |
BCryptPbkdf2PasswordHash.newBCryptPasswordEncoder(int strength,
BCryptPasswordEncoder.BCryptVersion version,
SecureRandom random)
Creates a new instance of
BCryptPbkdf2PasswordHash using BCrypt to
hash new passwords. |
static BCryptPbkdf2PasswordHash |
BCryptPbkdf2PasswordHash.newPBKDF2Encoder(int iterations,
int saltSizeBytes,
int keySizeBytes,
Algorithm algorithm,
SecureRandom random)
Creates a new instance of
BCryptPbkdf2PasswordHash using PBKDF2WithHmacSHA to
hash new passwords. |
Copyright © 2020. All rights reserved.