| Package | Description |
|---|---|
| ru.d_shap.hash |
Hash library provides facilities for the hash computations.
|
| Modifier and Type | Method and Description |
|---|---|
Hash |
Hash.addSalt(byte[] salt)
Add the salt to the current hash.
|
Hash |
Hash.addSalt(CharSequence salt)
Add the salt to the current hash.
|
Hash |
Hash.addSalt(CharSequence salt,
String encoding)
Add the salt to the current hash.
|
static Hash |
HashHelper.getHash(byte[] bytes,
String algorithm)
Create the hash object for the specified bytes.
|
static Hash |
HashHelper.getHash(CharSequence charSequence,
String algorithm)
Create the hash object for the specified char sequence.
|
static Hash |
HashHelper.getHash(CharSequence charSequence,
String encoding,
String algorithm)
Create the hash object for the specified char sequence.
|
static Hash |
HashHelper.getHash(InputStream stream,
String algorithm)
Create the hash object for the specified stream of bytes.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
HashHelper.addSalt(Hash hash,
byte[] storedSalt,
byte[] fixedSalt,
SaltOrder saltOrder)
Add the specified salt to the specified hash in the specified order.
|
Copyright © 2017. All rights reserved.