Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C++ AES Encryption Class [closed]

I need AES encryption for my C++ project. But i don't have the time to study the more popular and complex c++ cryptography libraries. Do you know of any ready made, open source C++ class that implements AES(Rijndael)?

something that provides something like

void makekey(....);
string encrypt(string data); //takes plain text, returns encrypted text
string decrypt(string data); //takes encrypted text, returns plain text

I have already seen this implementation of AES and am trying to tailor it to my needs but I don't want to reinvent the wheel (and I'm having problems with it). so if you know of such class please let me know.

like image 580
yohannist Avatar asked Aug 28 '12 00:08

yohannist


1 Answers

I recommend Crypto++, a really easy to use C++ library. It works in different operating systems like Windows and Linux. Don't reinvent the wheel!

Usage samples can be found here.

like image 131
sw. Avatar answered Oct 13 '22 20:10

sw.