Class MessageDigestAlgorithms


  • public class MessageDigestAlgorithms
    extends java.lang.Object
    Standard MessageDigest algorithm names from the Java Cryptography Architecture Standard Algorithm Name Documentation.

    This class is immutable and thread-safe.

    TODO This should be an enum.
    Since:
    1.7
    Version:
    $Id: MessageDigestAlgorithms.java 1585867 2014-04-09 00:12:36Z ggregory $
    See Also:
    Java Cryptography Architecture Standard Algorithm Name Documentation
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String MD2
      The MD2 message digest algorithm defined in RFC 1319.
      static java.lang.String MD5
      The MD5 message digest algorithm defined in RFC 1321.
      static java.lang.String SHA_1
      The SHA-1 hash algorithm defined in the FIPS PUB 180-2.
      static java.lang.String SHA_256
      The SHA-256 hash algorithm defined in the FIPS PUB 180-2.
      static java.lang.String SHA_384
      The SHA-384 hash algorithm defined in the FIPS PUB 180-2.
      static java.lang.String SHA_512
      The SHA-512 hash algorithm defined in the FIPS PUB 180-2.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MD2

        public static final java.lang.String MD2
        The MD2 message digest algorithm defined in RFC 1319.
        See Also:
        Constant Field Values
      • MD5

        public static final java.lang.String MD5
        The MD5 message digest algorithm defined in RFC 1321.
        See Also:
        Constant Field Values
      • SHA_1

        public static final java.lang.String SHA_1
        The SHA-1 hash algorithm defined in the FIPS PUB 180-2.
        See Also:
        Constant Field Values
      • SHA_256

        public static final java.lang.String SHA_256
        The SHA-256 hash algorithm defined in the FIPS PUB 180-2.
        See Also:
        Constant Field Values
      • SHA_384

        public static final java.lang.String SHA_384
        The SHA-384 hash algorithm defined in the FIPS PUB 180-2.
        See Also:
        Constant Field Values
      • SHA_512

        public static final java.lang.String SHA_512
        The SHA-512 hash algorithm defined in the FIPS PUB 180-2.
        See Also:
        Constant Field Values
    • Constructor Detail

      • MessageDigestAlgorithms

        private MessageDigestAlgorithms()