Skip to content

Commit f16cabc

Browse files
committed
Javadoc
1 parent 396218a commit f16cabc

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

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

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@
4141
import org.apache.commons.codec.binary.StringUtils;
4242

4343
/**
44-
* Operations to simplify common {@link java.security.MessageDigest} tasks. This class is immutable and thread-safe. However the MessageDigest instances it
45-
* creates generally won't be.
44+
* Operations to simplify common {@link MessageDigest} tasks. This class is immutable and thread-safe. However the {@link MessageDigest} instances
45+
* it creates generally won't be.
4646
* <p>
4747
* The {@link MessageDigestAlgorithms} class provides constants for standard digest algorithms that can be used with the {@link #getDigest(String)} method and
4848
* other methods that require the Digest algorithm name.
4949
* </p>
5050
* <p>
51-
* Note: The class has shorthand methods for all the algorithms present as standard in Java 6. This approach requires lots of methods for each algorithm, and
51+
* Note: The class has shorthand methods for all the algorithms present as standard in Java 8. This approach requires lots of methods for each algorithm, and
5252
* quickly becomes unwieldy. The following code works with all algorithms:
5353
* </p>
5454
*
@@ -58,7 +58,11 @@
5858
* byte [] digest = new DigestUtils(SHA_224).digest(dataToDigest);
5959
* String hdigest = new DigestUtils(SHA_224).digestAsHex(new File("pom.xml"));
6060
* </pre>
61-
*
61+
* <p>
62+
* See <a href="https://docs.oracle.com/javase/8/docs/technotes/guides/security/crypto/CryptoSpec.html#AppA">Appendix A in the Java Cryptography Architecture
63+
* Reference Guide</a> for information about standard algorithm names.
64+
* </p>
65+
*
6266
* @see MessageDigestAlgorithms
6367
*/
6468
public class DigestUtils {

0 commit comments

Comments
 (0)