Interface HashAlgorithmTags

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int DOUBLE_SHA
      Reserved for double-width SHA (experimental).
      static int HAVAL_5_160
      Reserved for HAVAL (5 pass, 160-bit).
      static int MD2
      Reserved for MD2.
      static int MD4
      Deprecated.
      non-standard
      static int MD5
      MD5.
      static int RIPEMD160
      RIPEMD-160.
      static int SHA1
      SHA-1.
      static int SHA224
      SHA2-224.
      static int SHA256
      SHA2-256.
      static int SHA3_224
      Deprecated.
      non-standard
      static int SHA3_256
      SHA3-256.
      static int SHA3_256_OLD
      Deprecated.
      non-standard
      static int SHA3_384
      Deprecated.
      non-standard
      static int SHA3_512
      SHA3-512.
      static int SHA3_512_OLD
      Deprecated.
      non-standard
      static int SHA384
      SHA2-384.
      static int SHA512
      SHA2-512.
      static int SM3
      Deprecated.
      non-standard
      static int TIGER_192
      Reserved for TIGER/192.
    • Field Detail

      • MD5

        static final int MD5
        MD5. Implementations MUST NOT use this to generate signatures. Implementations MUST NOT use this as a hash function in ECDH KDFs. Implementations MUST NOT generate packets with this hash function in an S2K KDF. Implementations MUST NOT use this hash function in an S2K KDF to decrypt v6+ packets.
        See Also:
        Constant Field Values
      • SHA1

        static final int SHA1
        SHA-1. Implementations MUST NOT use this to generate signatures. Implementations MUST NOT use this as a hash function in ECDH KDFs. Implementations MUST NOT generate packets with this hash function in an S2K KDF. Implementations MUST NOT use this hash function in an S2K KDF to decrypt v6+ packets.
        See Also:
        Constant Field Values
      • RIPEMD160

        static final int RIPEMD160
        RIPEMD-160. Implementations MUST NOT use this to generate signatures. Implementations MUST NOT use this as a hash function in ECDH KDFs. Implementations MUST NOT generate packets with this hash function in an S2K KDF. Implementations MUST NOT use this hash function in an S2K KDF to decrypt v6+ packets.
        See Also:
        Constant Field Values
      • DOUBLE_SHA

        static final int DOUBLE_SHA
        Reserved for double-width SHA (experimental).
        See Also:
        Constant Field Values
      • HAVAL_5_160

        static final int HAVAL_5_160
        Reserved for HAVAL (5 pass, 160-bit).
        See Also:
        Constant Field Values
      • SHA256

        static final int SHA256
        SHA2-256. Compliant implementations MUST implement.
        See Also:
        Constant Field Values
      • SHA3_224

        static final int SHA3_224
        Deprecated.
        non-standard
        Reserved for SHA3-224.
        See Also:
        Constant Field Values
      • SHA3_256_OLD

        static final int SHA3_256_OLD
        Deprecated.
        non-standard
        Reserved for SHA3-256.
        See Also:
        Constant Field Values
      • SHA3_384

        static final int SHA3_384
        Deprecated.
        non-standard
        Reserved for SHA3-384.
        See Also:
        Constant Field Values
      • SHA3_512_OLD

        static final int SHA3_512_OLD
        Deprecated.
        non-standard
        Reserved for SHA3-512.
        See Also:
        Constant Field Values