| Package | Description |
|---|---|
| com.helger.security.messagedigest | |
| com.helger.security.password.hash |
| Modifier and Type | Method and Description |
|---|---|
EMessageDigestAlgorithm |
MessageDigestValue.getAlgorithm() |
static EMessageDigestAlgorithm |
EMessageDigestAlgorithm.getFromStringIgnoreCase(String sAlgorithm) |
static EMessageDigestAlgorithm |
EMessageDigestAlgorithm.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EMessageDigestAlgorithm[] |
EMessageDigestAlgorithm.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static MessageDigestValue |
MessageDigestValue.create(byte[] aBytes,
EMessageDigestAlgorithm eAlgorithm)
Create a new
MessageDigestValue object based on the passed source
byte array |
static MessageDigestValue |
MessageDigestValue.create(InputStream aIS,
EMessageDigestAlgorithm eAlgorithm)
Create a new
MessageDigestValue object based on the passed source
InputStream. |
| Constructor and Description |
|---|
MessageDigestValue(EMessageDigestAlgorithm eAlgorithm,
byte[] aDigestBytes) |
MessageDigestValue(EMessageDigestAlgorithm eAlgorithm,
byte[] aDigestBytes,
boolean bIsCopyNeeded) |
| Modifier and Type | Field and Description |
|---|---|
static EMessageDigestAlgorithm |
PasswordHashCreatorSHA512.USER_PASSWORD_ALGO
Hashing algorithm to use for user passwords - never change it!
|
Copyright © 2016–2019 Philip Helger. All rights reserved.