The Microsoft Base Cryptographic Provider supports the following algorithms.
| Algorithm ID | Description | Comments |
|---|---|---|
| CALG_MD2 | MD2 hashing algorithm | For more information, see MD2 algorithm. |
| CALG_MD5 | MD5 hashing algorithm | For more information, see MD5 algorithm. |
| CALG_SHA | SHA hashing algorithm | For more information, see Secure Hash Algorithm. |
| CALG_SHA1 | Same as CALG_SHA | For more information, see Secure Hash Algorithm. |
| CALG_MAC | Message Authentication Code (MAC) keyed-hash algorithm | Block cipher MAC. |
| CALG_HMAC | MAC keyed-hash algorithm | HMAC computation. |
| CALG_SSL3_SHAMD5 | SLL3 client authentication algorithm | For more information, see Creating a CALG_SSL3_SHAMD5 Hash. |
| CALG_RSA_SIGN | RSA public key signature algorithm | Key length: can be set from 384 bits to 16,384 bits in 8-bit increments. Default key length: 512 bits. Signature conforms to PKCS #6. |
| CALG_RSA_KEYX | RSA public key exchange algorithm | Key length: can be set from 384 bits to 1024 bits in 8-bit increments. Default key length: 512 bits. |
| CALG_RC2 | RC2 block encryption algorithm | Key length: 40 bits. Default mode: Cipher block chaining. Block size: 64 bits. Salt length: 88 bits. |
| CALG_RC4 | RC4 stream encryption algorithm | Key length: 40 bits. Salt length: 88 bits. |
| CALG_DES | DES encryption | For more information, see Data Encryption Standard (DES). |
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
