public class MessageDigestAlgorithms extends Object
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.
Modifier and Type | Field and Description |
---|---|
static String |
MD2
The MD2 message digest algorithm defined in RFC 1319.
|
static String |
MD5
The MD5 message digest algorithm defined in RFC 1321.
|
static String |
SHA_1
The SHA-1 hash algorithm defined in the FIPS PUB 180-2.
|
static String |
SHA_224
The SHA-224 hash algorithm defined in the FIPS PUB 180-3.
|
static String |
SHA_256
The SHA-256 hash algorithm defined in the FIPS PUB 180-2.
|
static String |
SHA_384
The SHA-384 hash algorithm defined in the FIPS PUB 180-2.
|
static String |
SHA_512
The SHA-512 hash algorithm defined in the FIPS PUB 180-2.
|
static String |
SHA3_224
The SHA3-224 hash algorithm defined in the FIPS PUB 202.
|
static String |
SHA3_256
The SHA3-256 hash algorithm defined in the FIPS PUB 202.
|
static String |
SHA3_384
The SHA3-384 hash algorithm defined in the FIPS PUB 202.
|
static String |
SHA3_512
The SHA3-512 hash algorithm defined in the FIPS PUB 202.
|
Modifier and Type | Method and Description |
---|---|
static String[] |
values()
Gets all constant values defined in this class.
|
public static final String MD2
public static final String MD5
public static final String SHA_1
public static final String SHA_224
Present in Oracle Java 8.
public static final String SHA_256
public static final String SHA_384
public static final String SHA_512
public static final String SHA3_224
Likely to be included in Oracle Java 9 GA.
public static final String SHA3_256
Likely to be included in Oracle Java 9 GA.
public static final String SHA3_384
Likely to be included in Oracle Java 9 GA.
public static final String SHA3_512
Likely to be included in Oracle Java 9 GA.
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.