Skip to content

Commit 7ff7180

Browse files
committed
Javadocs
Fix typo in SHA3_224 value git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1744380 13f79535-47bb-0310-9956-ffa450edef68
1 parent cbea317 commit 7ff7180

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

src/main/java/org/apache/commons/codec/digest/MessageDigestAlgorithms.java

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,11 @@
3434
*
3535
* @see <a href="http://docs.oracle.com/javase/6/docs/technotes/guides/security/StandardNames.html">Java Cryptography
3636
* Architecture Standard Algorithm Name Documentation</a>
37-
* @since 1.7 // * @deprecated Use the enum {@link MessageDigestAlgorithm}.
37+
* @see <a href="http://dx.doi.org/10.6028/NIST.FIPS.180-4">FIPS PUB 180-4</a>
38+
* @see <a href="http://dx.doi.org/10.6028/NIST.FIPS.202">FIPS PUB 202</a>
39+
* @since 1.7
3840
* @version $Id$
3941
*/
40-
// @Deprecated
4142
public class MessageDigestAlgorithms {
4243

4344
/**
@@ -81,17 +82,17 @@ public class MessageDigestAlgorithms {
8182
public static final String SHA_512 = "SHA-512";
8283

8384
/**
84-
* The SHA3-224 hash algorithm defined in the FIPS PUB 180-4.
85+
* The SHA3-224 hash algorithm defined in the FIPS PUB 202.
8586
* <p>
8687
* Present in Oracle Java 9.
8788
* </p>
8889
*
8990
* @since 1.11
9091
*/
91-
public static final String SHA3_224 = "SHA3_224";
92+
public static final String SHA3_224 = "SHA3-224";
9293

9394
/**
94-
* The SHA3-256 hash algorithm defined in the FIPS PUB 180-4.
95+
* The SHA3-256 hash algorithm defined in the FIPS PUB 202.
9596
* <p>
9697
* Present in Oracle Java 9.
9798
* </p>
@@ -101,7 +102,7 @@ public class MessageDigestAlgorithms {
101102
public static final String SHA3_256 = "SHA3-256";
102103

103104
/**
104-
* The SHA3-384 hash algorithm defined in the FIPS PUB 180-4.
105+
* The SHA3-384 hash algorithm defined in the FIPS PUB 202.
105106
* <p>
106107
* Present in Oracle Java 9.
107108
* </p>
@@ -111,7 +112,7 @@ public class MessageDigestAlgorithms {
111112
public static final String SHA3_384 = "SHA3-384";
112113

113114
/**
114-
* The SHA3-512 hash algorithm defined in the FIPS PUB 180-4.
115+
* The SHA3-512 hash algorithm defined in the FIPS PUB 202.
115116
* <p>
116117
* Present in Oracle Java 9.
117118
* </p>

0 commit comments

Comments
 (0)