Data Encryption Functions Summary

The functions in this section support encryption and decryption operations. Before invoking these functions, you must first acquire an encryption key. This is done by using the functions CryptGenKey, CryptDeriveKey, or CryptImportKey. The encryption algorithm is specified when the key is created. You can also specify additional encryption parameters by using the CryptSetKeyParam function.

Function Description
CryptEncrypt Encrypt a section of plaintext by using the specified encryption key.
CryptDecrypt Decrypt a section of ciphertext by using the specified encryption key.