Regof
Regof

Reputation: 2857

Basic MCrypt string encryption with password implementation in C++

What is the basic setup on the subject? Let say I have a QByteArray, and I need to encrypt it with simple password. And the application has to be portable to Linux, Windows and Mac. Do I have to include mcrypt.h and mcrypt.c in the QT project? And then decrypt it in another piece of code Just a very simple setup

Upvotes: 2

Views: 1171

Answers (1)

Brian Roach
Brian Roach

Reputation: 76898

You might want to look at Qt Cryptographic Architecture (QCA)

http://delta.affinix.com/qca/

Should do what you need, is QT based, and is cross-platform.

Upvotes: 2

Related Questions