Package | Description |
---|---|
org.apache.commons.codec.digest |
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. |
Modifier and Type | Method and Description |
---|---|
static HmacAlgorithms |
HmacAlgorithms.valueOf(String name)
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 Type | Method and Description |
---|---|
static Mac |
HmacUtils.getInitializedMac(HmacAlgorithms algorithm,
byte[] key)
Returns an initialized
Mac for the given algorithm . |
Copyright © 2002–2014 The Apache Software Foundation. All rights reserved.