I found a lot of implementations of AES, Twofish and Serpent in C. But I don\'t really understand the examples. I only understand that some where provided with examples to i
Download OpenSSL/Putty/GnuPG sources. All of them contains source of corresponding encryption algorithm. Also, each algorithm has reference implementation in C, which can be easily found over internet.