C++ AES 加密类
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/12151178/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
C++ AES Encryption Class
提问by yohannes
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)?
我的 C++ 项目需要 AES 加密。但我没有时间研究更流行和更复杂的 c++ 密码学库。你知道任何实现 AES(Rijndael) 的现成的、开源的 C++ 类吗?
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 thisimplementation 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.
我已经看到了 AES 的这种实现,并且正在尝试根据我的需要对其进行调整,但我不想重新发明轮子(而且我遇到了问题)。所以如果你知道这样的课程,请告诉我。