Previous: Public Key Algorithms, Up: Algorithms [Contents][Index]
Hash (message digest) algorithms are used to compress a long message to make it suitable for public key cryptography.
The gpgme_hash_algo_t type specifies the set of all hash algorithms
that are supported by GPGME.  Possible values are:
GPGME_MD_MD5GPGME_MD_SHA1GPGME_MD_RMD160GPGME_MD_MD2GPGME_MD_TIGERGPGME_MD_HAVALGPGME_MD_SHA256GPGME_MD_SHA384GPGME_MD_SHA512GPGME_MD_SHA224SINCE: 1.5.0
GPGME_MD_MD4GPGME_MD_CRC32GPGME_MD_CRC32_RFC1510GPGME_MD_CRC24_RFC2440The function gpgme_hash_algo_name returns a pointer to a
statically allocated string containing a description of the hash
algorithm algo.  This string can be used to output the name of
the hash algorithm to the user.
If algo is not a valid hash algorithm, NULL is returned.