Would you like to use C++ to build your own file encryption program? This real-world example source code package contains a fully functional program that encrypts and decrypts text or binary files.
This is an easy way for you to learn how to use Visual C++ with LibTomCrypt, a public domain and an ISO C cryptography library, to build your own file encryption program. Supported ciphers: aes, blowfish, xtea, rc5, rc6, safer+, twofish, safer-k64, safer-sk64, safer-k128, safer-sk128, rc2, des, 3des, cast5, noekeon, skipjack, khazad, and anubis.
In this example source codes, the symmetric block cipher chaining mode used is CTR (Counter Mode). However, LibTomCrypt also has support for other modes such as CFB, OFB, ECB, CBC.