Adding AES encryption to VC++ application

10,548

Solution 1

Microsoft provides the CryptoAPI, which is built-in to Windows.

The starting point for the documentation is here:

A general usage overview:

Sample programs written in C:

And here is a list of supported algorithms, including AES128:

Solution 2

I recommend using http://www.openssl.org/ there's a guide for using it with vc++ @ http://www.devside.net/guides/windows/openssl

--edit

You should use the latest version from openssl's site instead of the old version in that guide, everything else in the guide applies.

Share:
10,548
Viks
Author by

Viks

Updated on July 16, 2022

Comments

  • Viks
    Viks almost 2 years

    I created a GUI application in VC++ and now I wanted to do a AES128 encryption to the data, I am writting to it.

    Can anyone please let me know how can I do that in VC++.