Search code examples
c++linuxencryption3des

Which library would you consider on linux for DEA (Data Encryption Algorithm)?


I need a 3DES encrypt/decrypt library for my project. Do you know an implementation working on linux ?

Linux is the target platform, but I essantially compile/debug on Windows. Therefore it could be really appreciated if it could work on Windows, while not mandatory.


Solution

  • OpenSSL is a very reputable, well tested open source security library. It's available for *nix and Windows. You can find it here

    Edit, can't find a simple example right now. The API documentation is pretty good though.

    There's a pre-compiled version for windows available for download from the openssl site. Most package managers will have a pre-packaged version of OpenSSL for Linux boxes, so you shouldn't have to compile your own version.