C ++ AES加密类 [英] C++ AES Encryption Class

查看:152
本文介绍了C ++ AES加密类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的C ++项目需要AES加密。但我没有时间去研究更流行和复杂的c ++加密库。你知道任何现成的,开源的C ++类实现AES(Rijndael)?

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)?

提供类似的东西

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

我已经看过 AES的实现,我试图根据我的需要,但我不想重新发明轮子(我有它的问题)。所以如果你知道这样的类,请让我知道。

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.

推荐答案

我推荐 Crypto++ ,一个真正容易使用的C ++库。它适用于不同的操作系统,如Windows和Linux。不要重复轮子!

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!

这篇关于C ++ AES加密类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆