You are looking at historical revision 36181 of this page. It may differ significantly from its current revision.

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.

Author

Colin Plumb, wrapped for Chicken by Peter Bex

Procedures

[procedure] (string->md5sum str)

Generates the MD5 hash for the given string str.

[procedure] (file-md5sum filename)

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

License

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.

Requirements

Needs the memory-mapped-files egg.

Version History

0.1.1
Drop srfi-13 dependency
0.1.0
Port to CHICKEN 5
0.0.1
Initial release