Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close
# status

finished.  passes tests.


# intro

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.


# install

this is just a library.  "make" will compile it (libdes.a).  "make
run" will run the test suite.


# latest version

get it from http://www.ueber.net/code/r/des


# licence & author

all files are in the public domain.  this code has been written by
mechiel lukkien, reachable at mechiel@ueber.net or mechiel@xs4all.nl.


# caveats

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"

Recent activity

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.