Java org.apache.commons.codec.digest HmacUtils fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.codec.digest HmacUtils fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.codec.digest HmacUtils.

The text is from its open source code.

Method

MacgetHmacSha512(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.
StringhmacSha1Hex(final byte[] key, final byte[] valueToDigest)
Returns a HmacSHA1 Message Authentication Code (MAC) as hex string (lowercase) for the given key and value.
StringhmacSha1Hex(final byte[] key, final InputStream valueToDigest)
Returns a HmacSHA1 Message Authentication Code (MAC) as hex string (lowercase) for the given key and value.
StringhmacSha1Hex(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.
StringhmacSha256Hex(final byte[] key, final byte[] valueToDigest)
Returns a HmacSHA256 Message Authentication Code (MAC) as hex string (lowercase) for the given key and value.
StringhmacSha256Hex(final byte[] key, final InputStream valueToDigest)
Returns a HmacSHA256 Message Authentication Code (MAC) as hex string (lowercase) for the given key and value.
StringhmacSha256Hex(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.
StringhmacSha512Hex(final byte[] key, final byte[] valueToDigest)
Returns a HmacSHA512 Message Authentication Code (MAC) as hex string (lowercase) for the given key and value.
StringhmacSha512Hex(final byte[] key, final InputStream valueToDigest)
Returns a HmacSHA512 Message Authentication Code (MAC) as hex string (lowercase) for the given key and value.
StringhmacSha512Hex(final String key, final String valueToDigest)
Returns a HmacSHA512 Message Authentication Code (MAC) as hex string (lowercase) for the given key and value.