The code from this page can be found in my online CVS server here.
Category: Des
Example of DES encryption code
/****************************************************************************** desex.c, an example of how to use the openssl DES implementation… Data is input on stdin, and the enrypted information is output to stdout. Prompts appear on stderr… This is an example of the Electronic Code Book mode, which is predictable for known input, and is not recommended. Copyright (c) Michael Still 2001 Released…
DES examples
This page contains some DES example code I wrote in reaction to a crypto tutorial I attended a while ago. I finally got around to putting the code online… The basic point of the code is it shows you how to use the DES calls within openssl. It also shows how the electronic code book…
Example of DES decryption code
/****************************************************************************** desex.c, an example of how to use the openssl DES implementation… Data is input on stdin, and the enrypted information is output to stdout. Prompts appear on stderr… This is an example of the Electronic Code Book mode, which is predictable for known input, and is not recommended. Copyright (c) Michael Still 2001 Released…