My C++ implementation of DES for university crypt course.
It's quite fast (~20MB/sec on i3-370 M).
- CMake
- Boost.Program_options
Encrypt "msg" file with key "0123456789ABCDEF" and write result to "crypted":
./des -e -k 0123456789ABCDEF -i msg -o crypted
Decrypt "crypted" file with key "0123456789ABCDEF" and write result to "res":
./des -d -k 0123456789ABCDEF -i crypted -o res
The DES Algorithm Illustrated:
http://page.math.tu-berlin.de/~kant/teaching/hess/krypto-ws2006/des.htm