information about this package can be found in the README. here is a html-version of the README:
finished. passes tests.
this is a DES library. it is written in portable c, it does not need to know if it runs on a little or big endian machine. it is easy to understand as it directly uses the tables from the DES specification (only the sboxes have a different layout, generated by the included sbox.py). it is not optimized. it does have tests, which it passes. the code is in the public domain for easy inclusion in external software.
this is just a library. "make" will compile it (libdes.a). "make run" will run the test suite.
get it from http://www.ueber.net/code/r/des
all files are in the public domain. this code has been written by mechiel lukkien, reachable at mechiel@ueber.net or mechiel@xs4all.nl.
des.h uses the types "uchar" and "uvlong". if your system does not define those, you can define them yourself (before inclusion of des.h). for example:
typedef unsigned char uchar; typedef unsigned long long uvlong; #include "des.h"
to clone & pull:
hg clone http://www.ueber.net/hgsrv/des/
hg clone static-http://www.ueber.net/who/mjl/hg/des/
download a snapshot of the latest version: des-0.tgz.
the files in the latest revision can be found at /hg/des/files/tip/. a specific revision can be access by replacing "tip" with the revision number, (partial) nodeid or tag name. a few direct links to useful files in the latest revision:
| rev | nodeid | when | diff | why |
|---|---|---|---|---|
| 0 | 73fb6e865a2b | 3 years | - | welcome des library. |