Uses of Class
me.saro.kit.hashs.HashAlgorithm
| Package | Description |
|---|---|
| me.saro.kit.hashs |
-
Uses of HashAlgorithm in me.saro.kit.hashs
Methods in me.saro.kit.hashs that return HashAlgorithm Modifier and Type Method Description static HashAlgorithmHashAlgorithm. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static HashAlgorithm[]HashAlgorithm. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in me.saro.kit.hashs with parameters of type HashAlgorithm Modifier and Type Method Description static byte[]Hashs. toHash(HashAlgorithm hashAlgorithm, byte[] data)to Hashstatic byte[]Hashs. toHash(HashAlgorithm hashAlgorithm, java.lang.String text)to Hash
charset is UTF-8static byte[]Hashs. toHash(HashAlgorithm hashAlgorithm, java.lang.String text, java.lang.String charset)to Hashstatic java.lang.StringHashs. toHashBase64(HashAlgorithm hashAlgorithm, java.lang.String text)toHashBase64static java.lang.StringHashs. toHashBase64(HashAlgorithm hashAlgorithm, java.lang.String text, java.lang.String charset)toHashBase64static java.lang.StringHashs. toHashHex(HashAlgorithm hashAlgorithm, java.lang.String text)toHashHexstatic java.lang.StringHashs. toHashHex(HashAlgorithm hashAlgorithm, java.lang.String text, java.lang.String charset)toHashHex