Package org.bouncycastle.bcpg
Interface HashAlgorithmTags
- All Known Implementing Classes:
PGPUtil
public interface HashAlgorithmTags
Basic tags for hash algorithms.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic 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-standardstatic 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-standardstatic final int
SHA3-256.static final int
Deprecated.non-standardstatic final int
Deprecated.non-standardstatic final int
SHA3-512.static final int
Deprecated.non-standardstatic final int
SHA2-384.static final int
SHA2-512.static final int
Deprecated.non-standardstatic final int
Reserved for TIGER/192.
-
Field Details
-
MD5
static final int MD5MD5. 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 SHA1SHA-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 RIPEMD160RIPEMD-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_SHAReserved for double-width SHA (experimental).- See Also:
-
MD2
static final int MD2Reserved for MD2.- See Also:
-
TIGER_192
static final int TIGER_192Reserved for TIGER/192.- See Also:
-
HAVAL_5_160
static final int HAVAL_5_160Reserved for HAVAL (5 pass, 160-bit).- See Also:
-
SHA256
static final int SHA256SHA2-256. Compliant implementations MUST implement.- See Also:
-
SHA384
static final int SHA384SHA2-384.- See Also:
-
SHA512
static final int SHA512SHA2-512.- See Also:
-
SHA224
static final int SHA224SHA2-224.- See Also:
-
SHA3_256
static final int SHA3_256SHA3-256.- See Also:
-
SHA3_512
static final int SHA3_512SHA3-512.- See Also:
-
MD4
static final int MD4Deprecated.non-standardReserved for MD4.- See Also:
-
SHA3_224
static final int SHA3_224Deprecated.non-standardReserved for SHA3-224.- See Also:
-
SHA3_256_OLD
static final int SHA3_256_OLDDeprecated.non-standardReserved for SHA3-256.- See Also:
-
SHA3_384
static final int SHA3_384Deprecated.non-standardReserved for SHA3-384.- See Also:
-
SHA3_512_OLD
static final int SHA3_512_OLDDeprecated.non-standardReserved for SHA3-512.- See Also:
-
SM3
static final int SM3Deprecated.non-standardReserved for SM3.- See Also:
-