Discuss this help topic in SecureBlackbox Forum
Specifies data hashing algorithm.
Declaration
|
Description
Use this property to get or set algorithm that will be used for hash calculation.
Default value is
SB_PGP_ALGORITHM_MD_AUTO.
In signatures, produced by DSA-keys, the size of the hash should not be smaller than the
length of the
Q parameter.
By default, hash algorithm used for signatures produced by DSA-keys,
uses
KeyHashAlgorithm value.
Longer hashes are allowed (for example, it is possible to use SHA256 for DSA 1024-bit key), but not all the PGP implementations
support such behavior, thus user should be careful in such situations.