Package org.apache.commons.codec.digest
Class MessageDigestAlgorithms
java.lang.Object
org.apache.commons.codec.digest.MessageDigestAlgorithms
Standard
MessageDigest algorithm names from the Java Cryptography Architecture Standard Algorithm Name
Documentation.
This class is immutable and thread-safe.
- Java 8 and up: SHA-224.
- Java 9 and up: SHA3-224, SHA3-256, SHA3-384, SHA3-512.
- Since:
- 1.7
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe MD2 message digest algorithm defined in RFC 1319.static final StringThe MD5 message digest algorithm defined in RFC 1321.static final StringThe SHA-1 hash algorithm defined in the FIPS PUB 180-2.static final StringThe SHA-224 hash algorithm defined in the FIPS PUB 180-3.static final StringThe SHA-256 hash algorithm defined in the FIPS PUB 180-2.static final StringThe SHA-384 hash algorithm defined in the FIPS PUB 180-2.static final StringThe SHA-512 hash algorithm defined in the FIPS PUB 180-2.static final StringThe SHA-512 hash algorithm defined in the FIPS PUB 180-4.static final StringThe SHA-512 hash algorithm defined in the FIPS PUB 180-4.static final StringThe SHA3-224 hash algorithm defined in the FIPS PUB 202.static final StringThe SHA3-256 hash algorithm defined in the FIPS PUB 202.static final StringThe SHA3-384 hash algorithm defined in the FIPS PUB 202.static final StringThe SHA3-512 hash algorithm defined in the FIPS PUB 202. -
Method Summary
-
Field Details
-
MD2
The MD2 message digest algorithm defined in RFC 1319.- See Also:
-
MD5
The MD5 message digest algorithm defined in RFC 1321.- See Also:
-
SHA_1
The SHA-1 hash algorithm defined in the FIPS PUB 180-2.- See Also:
-
SHA_224
The SHA-224 hash algorithm defined in the FIPS PUB 180-3.Present in Oracle Java 8.
- Since:
- 1.11
- See Also:
-
SHA_256
The SHA-256 hash algorithm defined in the FIPS PUB 180-2.- See Also:
-
SHA_384
The SHA-384 hash algorithm defined in the FIPS PUB 180-2.- See Also:
-
SHA_512
The SHA-512 hash algorithm defined in the FIPS PUB 180-2.- See Also:
-
SHA_512_224
The SHA-512 hash algorithm defined in the FIPS PUB 180-4.Included starting in Oracle Java 9.
- Since:
- 1.14
- See Also:
-
SHA_512_256
The SHA-512 hash algorithm defined in the FIPS PUB 180-4.Included starting in Oracle Java 9.
- Since:
- 1.14
- See Also:
-
SHA3_224
The SHA3-224 hash algorithm defined in the FIPS PUB 202.Included starting in Oracle Java 9.
- Since:
- 1.11
- See Also:
-
SHA3_256
The SHA3-256 hash algorithm defined in the FIPS PUB 202.Included starting in Oracle Java 9.
- Since:
- 1.11
- See Also:
-
SHA3_384
The SHA3-384 hash algorithm defined in the FIPS PUB 202.Included starting in Oracle Java 9.
- Since:
- 1.11
- See Also:
-
SHA3_512
The SHA3-512 hash algorithm defined in the FIPS PUB 202.Included starting in Oracle Java 9.
- Since:
- 1.11
- See Also:
-
-
Method Details
-
values
Gets all constant values defined in this class.- Returns:
- all constant values defined in this class.
- Since:
- 1.11
-