File tree Expand file tree Collapse file tree
src/main/java/org/apache/commons/codec/digest Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232/**
3333 * Operations to simplify common {@link java.security.MessageDigest} tasks.
3434 * This class is immutable and thread-safe.
35- *
35+ * However the MessageDigest instances it creates generally won't be.
36+ * <p>
37+ * The {@link MessageDigestAlgorithms} class provides constants for standard
38+ * digest algorithms that can be used with the {@link #getDigest(String)} method.
39+ * @see MessageDigestAlgorithms
3640 * @version $Id$
3741 */
3842public class DigestUtils {
3943
4044 private static final int STREAM_BUFFER_LENGTH = 1024 ;
4145
4246 /**
43- * Read through an ByteBuffer and returns the digest for the data. Provided for symmetry with other methods.
47+ * Read through a byte array and returns the digest for the data. Provided for symmetry with other methods.
4448 *
4549 * @param messageDigest
4650 * The MessageDigest to use (e.g. MD5)
You can’t perform that action at this time.
0 commit comments