chickadee » simple-md5


A fast and simple MD5 implementation with minimal dependencies.

If you need more than simple file or string hashing, use the md5 egg instead.


Colin Plumb, wrapped for Chicken by Peter Bex


This egg is hosted on the CHICKEN Subversion repository:

If you want to check out the source code repository of this egg and you are not familiar with Subversion, see this page.


string->md5sum strprocedure

Generates the MD5 hash for the given string str.

file-md5sum filenameprocedure

Generates the MD5 hash for the file named by filename (uses mmap on POSIX platforms).


This code implements the MD5 message-digest algorithm.
The algorithm is due to Ron Rivest.  This code was
written by Colin Plumb in 1993, no copyright is claimed.
This code is in the public domain; do with it what you wish.
Equivalent code is available from RSA Data Security, Inc.
This code has been tested against that, and is equivalent,
except that you don't need to include two pages of legalese
with every copy.


Needs the memory-mapped-files egg.

Version History

Drop srfi-13 dependency
Port to CHICKEN 5
Initial release

Contents »