public final class HashCodeGenerator extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
createHashCode(String stringToHash)
Calculates the HashCode of the provided input string.
|
static String |
createHashCode(String uri,
String payload)
Joins the given parameters with a + and calculates the HashCode.
|
static String |
createSHA256HashCode(String dataToHash)
Returns the SHA256 hash of the provided String or
null if null has been provided. |
public static String createHashCode(String stringToHash)
null if stringToHash is nullstringToHash - the input string to hashpublic static String createHashCode(String uri, String payload)
null if uri and payload are nulluri - uripayload - payloadCopyright © 2016–2018. All rights reserved.