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
Repository
This egg is hosted on the CHICKEN Subversion repository:
https://anonymous@code.call-cc.org/svn/chicken-eggs/release/5/simple-md5
If you want to check out the source code repository of this egg and you are not familiar with Subversion, see this page.
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