Does anyone have code snippet for Triple DES algorithm in C ?
Thank开发者_Python百科s
OpenSSL is written in C and provides a 3DES algorithm. It may not be as simple as some of the other suggestions, but it may be worth checking out.
Check out the Crypto++ library, they implement tons of algorithms including DES.
libtomcrypt is a comprehensive crypto lib written in C, with a 3DES implementation.
Here's a simple implementation in C & C++. Possibly simpler to use than libtomcrypt.
http://www.codeguru.com/cpp/misc/misc/cryptoapi/article.php/c8195
精彩评论