HASHALGORITHM_ENUM enumeration (bcrypt.h)
The HASHALGORITHM_ENUM enumeration type specifies signing and hashing algorithms. It is used by the BCRYPT_DSA_KEY_BLOB_V2 and BCRYPT_DSA_PARAMETER_HEADER_V2 structures.
Syntax
typedef enum {
DSA_HASH_ALGORITHM_SHA1,
DSA_HASH_ALGORITHM_SHA256,
DSA_HASH_ALGORITHM_SHA512
} HASHALGORITHM_ENUM;
Constants
DSA_HASH_ALGORITHM_SHA1 Represents a Digital Signature Algorithm (DSA) that uses the Secure Hashing Algorithm 1 (SHA1) to hash the message contents before signing. |
DSA_HASH_ALGORITHM_SHA256 Represents a Digital Signature Algorithm (DSA) that uses the Secure Hashing Algorithm 256 (SHA256) to hash the message contents before signing. |
DSA_HASH_ALGORITHM_SHA512 Represents a Digital Signature Algorithm (DSA) that uses the Secure Hashing Algorithm 512 (SHA512) to hash the message contents before signing. |
Requirements
Requirement | Value |
---|---|
Header | bcrypt.h |