@LevelUpApi(contract=INTERNAL) @ThreadSafe public final class CryptographicHashUtil extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CryptographicHashUtil.Algorithms
Set of cryptographic hashing algorithms that can be used with
getHexHash(String, Algorithms). |
| Modifier and Type | Method and Description |
|---|---|
static String |
getHexHash(String toHash,
CryptographicHashUtil.Algorithms algorithm)
Takes any string and returns a cryptographic hash of that string in hexadecimal.
|
public static String getHexHash(String toHash, CryptographicHashUtil.Algorithms algorithm)
toHash - String to hash.algorithm - The hashing algorithm to use.toHash in hexadecimal.