Example usage for Java org.apache.commons.codec.digest HmacUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
Mac | getHmacSha512(final byte[] key) Returns an initialized Mac for the HmacSHA512 algorithm. |
byte[] | hmacMd5(final byte[] key, final byte[] valueToDigest) Returns a HmacMD5 Message Authentication Code (MAC) for the given key and value. |
byte[] | hmacMd5(final byte[] key, final InputStream valueToDigest) Returns a HmacMD5 Message Authentication Code (MAC) for the given key and value. |
byte[] | hmacMd5(final String key, final String valueToDigest) Returns a HmacMD5 Message Authentication Code (MAC) for the given key and value. |
byte[] | hmacSha1(final byte[] key, final byte[] valueToDigest) Returns a HmacSHA1 Message Authentication Code (MAC) for the given key and value. |
byte[] | hmacSha1(final byte[] key, final InputStream valueToDigest) Returns a HmacSHA1 Message Authentication Code (MAC) for the given key and value. |
byte[] | hmacSha1(final String key, final String valueToDigest) Returns a HmacSHA1 Message Authentication Code (MAC) for the given key and value. |
String | hmacSha1Hex(final byte[] key, final byte[] valueToDigest) Returns a HmacSHA1 Message Authentication Code (MAC) as hex string (lowercase) for the given key and value. |
String | hmacSha1Hex(final byte[] key, final InputStream valueToDigest) Returns a HmacSHA1 Message Authentication Code (MAC) as hex string (lowercase) for the given key and value. |
String | hmacSha1Hex(final String key, final String valueToDigest) Returns a HmacSHA1 Message Authentication Code (MAC) as hex string (lowercase) for the given key and value. |
byte[] | hmacSha256(final byte[] key, final byte[] valueToDigest) Returns a HmacSHA256 Message Authentication Code (MAC) for the given key and value. |
byte[] | hmacSha256(final byte[] key, final InputStream valueToDigest) Returns a HmacSHA256 Message Authentication Code (MAC) for the given key and value. |
byte[] | hmacSha256(final String key, final String valueToDigest) Returns a HmacSHA256 Message Authentication Code (MAC) for the given key and value. |
String | hmacSha256Hex(final byte[] key, final byte[] valueToDigest) Returns a HmacSHA256 Message Authentication Code (MAC) as hex string (lowercase) for the given key and value. |
String | hmacSha256Hex(final byte[] key, final InputStream valueToDigest) Returns a HmacSHA256 Message Authentication Code (MAC) as hex string (lowercase) for the given key and value. |
String | hmacSha256Hex(final String key, final String valueToDigest) Returns a HmacSHA256 Message Authentication Code (MAC) as hex string (lowercase) for the given key and value. |
byte[] | hmacSha384(final byte[] key, final byte[] valueToDigest) Returns a HmacSHA384 Message Authentication Code (MAC) for the given key and value. |
byte[] | hmacSha384(final byte[] key, final InputStream valueToDigest) Returns a HmacSHA384 Message Authentication Code (MAC) for the given key and value. |
byte[] | hmacSha384(final String key, final String valueToDigest) Returns a HmacSHA384 Message Authentication Code (MAC) for the given key and value. |
byte[] | hmacSha512(final byte[] key, final byte[] valueToDigest) Returns a HmacSHA512 Message Authentication Code (MAC) for the given key and value. |
byte[] | hmacSha512(final byte[] key, final InputStream valueToDigest) Returns a HmacSHA512 Message Authentication Code (MAC) for the given key and value. |
byte[] | hmacSha512(final String key, final String valueToDigest) Returns a HmacSHA512 Message Authentication Code (MAC) for the given key and value. |
String | hmacSha512Hex(final byte[] key, final byte[] valueToDigest) Returns a HmacSHA512 Message Authentication Code (MAC) as hex string (lowercase) for the given key and value. |
String | hmacSha512Hex(final byte[] key, final InputStream valueToDigest) Returns a HmacSHA512 Message Authentication Code (MAC) as hex string (lowercase) for the given key and value. |
String | hmacSha512Hex(final String key, final String valueToDigest) Returns a HmacSHA512 Message Authentication Code (MAC) as hex string (lowercase) for the given key and value. |