| Package | Description |
|---|---|
| ru.d_shap.hash |
Hash library provides facilities for the hash computations.
|
| ru.d_shap.hash.builder |
Hash builder classes.
|
| Modifier and Type | Method and Description |
|---|---|
static SaltStoreType |
SaltStoreType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SaltStoreType[] |
SaltStoreType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
HashHelper.addSaltBytes(byte[] hash,
byte[] salt,
SaltStoreType saltStoreType)
Store the salt bytes in the result array of bytes along with the hash bytes.
|
static byte[] |
HashHelper.getHashBytes(byte[] bytes,
SaltStoreType saltStoreType,
int saltLength)
Get the hash bytes from the the array of bytes.
|
static byte[] |
HashHelper.getSaltBytes(byte[] bytes,
SaltStoreType saltStoreType,
int saltLength)
Get the salt bytes from the the array of bytes.
|
| Modifier and Type | Method and Description |
|---|---|
SaltStoreType |
HashWithSaltBuilder.getSaltStoreType()
Get the salt store type.
|
SaltStoreType |
HashWithSalt2Builder.getSaltStoreType()
Get the salt store type.
|
| Modifier and Type | Method and Description |
|---|---|
HashWithSaltBuilder |
HashWithSaltBuilder.setSaltStoreType(SaltStoreType saltStoreType)
Set the salt store type.
|
HashWithSalt2Builder |
HashWithSalt2Builder.setSaltStoreType(SaltStoreType saltStoreType)
Set the salt store type.
|
Copyright © 2017. All rights reserved.