commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1744380 - /commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/MessageDigestAlgorithms.java
Date Wed, 18 May 2016 10:27:57 GMT
Author: sebb
Date: Wed May 18 10:27:57 2016
New Revision: 1744380

URL: http://svn.apache.org/viewvc?rev=1744380&view=rev
Log:
Javadocs
Fix typo in SHA3_224 value

Modified:
    commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/MessageDigestAlgorithms.java

Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/MessageDigestAlgorithms.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/MessageDigestAlgorithms.java?rev=1744380&r1=1744379&r2=1744380&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/MessageDigestAlgorithms.java
(original)
+++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/MessageDigestAlgorithms.java
Wed May 18 10:27:57 2016
@@ -34,10 +34,11 @@ import java.security.MessageDigest;
  * 
  * @see <a href="http://docs.oracle.com/javase/6/docs/technotes/guides/security/StandardNames.html">Java
Cryptography
  *      Architecture Standard Algorithm Name Documentation</a>
- * @since 1.7 // * @deprecated Use the enum {@link MessageDigestAlgorithm}.
+ * @see <a href="http://dx.doi.org/10.6028/NIST.FIPS.180-4">FIPS PUB 180-4</a>
+ * @see <a href="http://dx.doi.org/10.6028/NIST.FIPS.202">FIPS PUB 202</a>
+ * @since 1.7
  * @version $Id$
  */
-// @Deprecated
 public class MessageDigestAlgorithms {
 
     /**
@@ -81,17 +82,17 @@ public class MessageDigestAlgorithms {
     public static final String SHA_512 = "SHA-512";
 
     /**
-     * The SHA3-224 hash algorithm defined in the FIPS PUB 180-4.
+     * The SHA3-224 hash algorithm defined in the FIPS PUB 202.
      * <p>
      * Present in Oracle Java 9.
      * </p>
      * 
      * @since 1.11
      */
-    public static final String SHA3_224 = "SHA3_224";
+    public static final String SHA3_224 = "SHA3-224";
 
     /**
-     * The SHA3-256 hash algorithm defined in the FIPS PUB 180-4.
+     * The SHA3-256 hash algorithm defined in the FIPS PUB 202.
      * <p>
      * Present in Oracle Java 9.
      * </p>
@@ -101,7 +102,7 @@ public class MessageDigestAlgorithms {
     public static final String SHA3_256 = "SHA3-256";
 
     /**
-     * The SHA3-384 hash algorithm defined in the FIPS PUB 180-4.
+     * The SHA3-384 hash algorithm defined in the FIPS PUB 202.
      * <p>
      * Present in Oracle Java 9.
      * </p>
@@ -111,7 +112,7 @@ public class MessageDigestAlgorithms {
     public static final String SHA3_384 = "SHA3-384";
 
     /**
-     * The SHA3-512 hash algorithm defined in the FIPS PUB 180-4.
+     * The SHA3-512 hash algorithm defined in the FIPS PUB 202.
      * <p>
      * Present in Oracle Java 9.
      * </p>



Mime
View raw message