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
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.
精彩评论