# AES Provider Algorithms

### In this article

The following table lists the algorithms supported by the Microsoft *Advanced Encryption Standard* (AES) Cryptographic Provider.

Algorithm ID | Description | Comments |
---|---|---|

CALG_3DES | Triple DES. | Key length: 168 bits. Default mode: Cipher block chaining. Block size: 64 bits. No salt allowed. |

CALG_3DES_112 | Two-key triple DES encryption. |
Key length: 112 bits. Default mode: Cipher block chaining. Block size: 64 bits. No salt allowed. |

CALG_AES_128 | AES block encryption algorithm. | Key length: 128 bits. |

CALG_AES_192 | AES block encryption algorithm. | Key length: 192 bits. |

CALG_AES_256 | AES block encryption algorithm. | Key length: 256 bits. |

CALG_DES | DES encryption. | Key length: 56 bits. Default mode: Cipher block chaining. Block size: 64 bits. No salt allowed. |

CALG_HMAC | MAC keyed-hash algorithm. | HMAC computation. |

CALG_MAC | Message Authentication Code (MAC) keyed hash algorithm. |
Block cipher MAC. |

CALG_MD2 | MD2 hashing algorithm. | For more information, see MD2 algorithm. |

CALG_MD5 | MD5 hashing algorithm. | For more information, see MD5 algorithm. |

CALG_RC2 | RC2 block encryption algorithm. | Key length: 128 bits. Default mode: Cipher block chaining. Block size: 64 bits. Salt length: Can be set. |

CALG_RC4 | RC4 stream encryption algorithm. | Key length: 128 bits. Salt length: Can be set. |

CALG_RSA_KEYX | RSA public key exchange algorithm. | Key length: Can be set, 384 bits to 16,384 bits in 8-bit increments. Default key length: 1,024 bits. |

CALG_RSA_SIGN | RSA public key signature algorithm. | Key length: Can be set, 384 bits to 16,384 bits in 8-bit increments. Default key length: 1,024 bits. Signature conforms to PKCS #6. |

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_SHA_256 | SHA hashing algorithm. | Key length: 256 bits.Windows XP: This algorithm is not supported. |

CALG_SHA_384 | SHA hashing algorithm. | Key length: 384 bits.Windows XP: This algorithm is not supported. |

CALG_SHA_512 | SHA hashing algorithm. | Key length: 512 bits.Windows XP: This algorithm is not supported. |

CALG_SSL3_SHAMD5 | SSL3 client authentication algorithm. | For more information, see Creating a CALG_SSL3_SHAMD5 Hash. |