views:

40

answers:

2

Hi,

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++.

A: 

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.

OneOfOne
A: 

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:

Nate
Thanks will try this
Viks