Uses of Enum
org.apache.commons.codec.digest.HmacAlgorithms
Package
Description
Simplifies common
MessageDigest
tasks and includes a libc crypt(3) compatible crypt method that supports DES, MD5, SHA-256 and SHA-512
based algorithms as well as the Apache specific "$apr1$" variant.-
Uses of HmacAlgorithms in org.apache.commons.codec.digest
Modifier and TypeMethodDescriptionstatic HmacAlgorithms
Returns the enum constant of this type with the specified name.static HmacAlgorithms[]
HmacAlgorithms.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionstatic Mac
HmacUtils.getInitializedMac
(HmacAlgorithms algorithm, byte[] key) Returns an initializedMac
for the givenalgorithm
.static boolean
HmacUtils.isAvailable
(HmacAlgorithms name) Returns whether this algorithm is availableModifierConstructorDescriptionHmacUtils
(HmacAlgorithms algorithm, byte[] key) Creates an instance using the provided algorithm type.HmacUtils
(HmacAlgorithms algorithm, String key) Creates an instance using the provided algorithm type.