开发者

linux aes256 with cbc encryption/decryption library

Could anyone please give me an examp开发者_StackOverflow社区le with encryption/ decryption aes 256 cbc. I have found the library crypt.h and unistd.h, but AN example would be really helpfull.

I need a linux library. i don't want to encrypt using third party applications


The OpenSSL library is installed by default on virtually every Linux system and you can use it to do 256-bit AES encryption with CBC. The OpenSSL documentation is notoriously poor but using this example as a basis, it's not too hard to figure out.


You could use cryptpp.
An example for AES is in the wiki. I hope this is what you want.


the need is for a library that has a.cpp and a .h file and does not need to be installed on linux. good question. I know mcrypt.h library.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜