Interface HashAlgorithmTags

All Known Implementing Classes:
PGPUtil

public interface HashAlgorithmTags
Basic tags for hash algorithms.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Reserved for double-width SHA (experimental).
    static final int
    Reserved for HAVAL (5 pass, 160-bit).
    static final int
    Reserved for MD2.
    static final int
    Deprecated.
    non-standard
    static final int
    MD5.
    static final int
    RIPEMD-160.
    static final int
    SHA-1.
    static final int
    SHA2-224.
    static final int
    SHA2-256.
    static final int
    Deprecated.
    non-standard
    static final int
    SHA3-256.
    static final int
    Deprecated.
    non-standard
    static final int
    Deprecated.
    non-standard
    static final int
    SHA3-512.
    static final int
    Deprecated.
    non-standard
    static final int
    SHA2-384.
    static final int
    SHA2-512.
    static final int
    Deprecated.
    non-standard
    static final int
    Reserved for TIGER/192.
  • Field Details

    • 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:
    • 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:
    • 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:
    • DOUBLE_SHA

      static final int DOUBLE_SHA
      Reserved for double-width SHA (experimental).
      See Also:
    • MD2

      static final int MD2
      Reserved for MD2.
      See Also:
    • TIGER_192

      static final int TIGER_192
      Reserved for TIGER/192.
      See Also:
    • HAVAL_5_160

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

      static final int SHA256
      SHA2-256. Compliant implementations MUST implement.
      See Also:
    • SHA384

      static final int SHA384
      SHA2-384.
      See Also:
    • SHA512

      static final int SHA512
      SHA2-512.
      See Also:
    • SHA224

      static final int SHA224
      SHA2-224.
      See Also:
    • SHA3_256

      static final int SHA3_256
      SHA3-256.
      See Also:
    • SHA3_512

      static final int SHA3_512
      SHA3-512.
      See Also:
    • MD4

      static final int MD4
      Deprecated.
      non-standard
      Reserved for MD4.
      See Also:
    • SHA3_224

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

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

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

      static final int SHA3_512_OLD
      Deprecated.
      non-standard
      Reserved for SHA3-512.
      See Also:
    • SM3

      static final int SM3
      Deprecated.
      non-standard
      Reserved for SM3.
      See Also: