开发者

Basic MCrypt string encryption with password implementation in C++

开发者 https://www.devze.com 2022-12-27 03:36 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消