| Modifier and Type | Class and Description |
|---|---|
static class |
Version.Default |
| Modifier and Type | Field and Description |
|---|---|
static Version |
Version.HKDF_HMAC512
Using HKDF-HMAC-SHA512 and 23 byte bcrypt output
|
static Version |
Version.HKDF_HMAC512_BCRYPT_24_BYTE
Using HKDF-HMAC-SHA512 and 24 byte bcrypt output
|
Version |
CompoundHashData.Config.version |
Version |
HashData.version |
| Modifier and Type | Field and Description |
|---|---|
static List<Version> |
Version.VERSIONS
List of supported
Version |
| Modifier and Type | Method and Description |
|---|---|
static Version |
Version.Util.getByCode(byte versionCode)
Get the version model for given code.
|
Version |
PasswordHasher.getHashVersion()
Get the in this instance used hash version.
|
Version |
PasswordHasher.Default.getHashVersion() |
Version |
KeyDerivationFunction.getHashVersion()
Get the in this instance used hash version.
|
Version |
KeyDerivationFunction.Default.getHashVersion() |
| Modifier and Type | Method and Description |
|---|---|
static KeyDerivationFunction |
BKDF.createKdf(Version version)
Create a fully usable KDF backed by BCrypt to generate key material for e.g.
|
static PasswordHasher |
BKDF.createPasswordHasher(Version version)
Create a password hasher to use BKDF password hash scheme with given config version.
|
static PasswordHasher |
BKDF.createPasswordHasher(Version version,
SecureRandom secureRandom)
Create a password hasher to use BKDF password hash scheme with given config version.
|
CompoundHashData |
PasswordHashUpgrader.upgradePasswordHashWith(Version version,
int costFactor,
String bkdfPasswordHashFormat2)
Upgrades the given hash with the given new hash config (ie.
|
CompoundHashData |
PasswordHashUpgrader.Default.upgradePasswordHashWith(Version version,
int costFactor,
String bkdfPasswordHashFormat2) |
| Constructor and Description |
|---|
Config(Version version,
byte cost) |
Default(Version version) |
HashData(byte cost,
Version version,
byte[] rawSalt,
byte[] rawHash)
Create new instance
|
Copyright © 2018. All rights reserved.