description | ms.assetid | title | ms.topic | ms.date | topic_type | api_name | api_type | api_location | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Sets or retrieves the type of hashing algorithm used. |
3f8e83f2-0e46-494b-ac63-658e663680ea |
HashedData.Algorithm property |
reference |
05/31/2018 |
|
|
|
|
[CAPICOM is a 32-bit only component that is available for use in the following operating systems: Windows Server 2008, Windows Vista, and Windows XP. Instead, use the HashAlgorithm Class in the System.Security.Cryptography namespace.]
The Algorithm property sets or retrieves the type of hashing algorithm used.
HashedData.Algorithm As CAPICOM_HASH_ALGORITHM
A value of the CAPICOM_HASH_ALGORITHM enumeration that defines a hash algorithm. The default value is CAPICOM_HASH_ALGORITHM_SHA1. The following table shows the possible values.
Value | Meaning |
---|---|
|
SHA1 hashing algorithm. |
|
MD2 hashing algorithm. |
|
MD4 hashing algorithm. |
|
MD5 hashing algorithm. |
|
SHA-256 hash algorithm. CAPICOM 2.0.0.3 and earlier: This value is not supported. |
|
SHA-384 hash algorithm. CAPICOM 2.0.0.3 and earlier: This value is not supported. |
|
SHA-512 hash algorithm. CAPICOM 2.0.0.3 and earlier: This value is not supported. |
Requirement | Value |
---|---|
End of client support |
Windows Vista |
End of server support |
Windows Server 2008 |
Redistributable |
CAPICOM 2.0 or later on Windows Server 2003 and Windows XP |
DLL |
|