You are looking at historical revision 22232 of this page. It may differ significantly from its current revision.
md5
Documentation
Computes MD5 checksums
Digest Procedures
Any Scheme-object can be the SOURCE for a digest. See message-digest for more information.
md5-primitive
[procedure] (md5-primitive)Returns the 128-bit checksum primitive object.
md5-digest ; DEPRECATED
[procedure] (md5-digest SOURCE)Returns the 128-bit checksum of SOURCE as a hex string.
md5-binary-digest ; DEPRECATED
[procedure] (md5-binary-digest SOURCE)Returns the 128-bit checksum of SOURCE as a string.
Usage
(require-extension md5)
Requirements
Notes
- Use the message-digest algorithm API instead of md5-digest & md5-binary-digest.
Author
Colin Plumb, wrapped for Chicken by Peter Bex
Version history
- 2.4
- Change deprecated pointer foreign type specifier to scheme-pointer to make it work under chickens newer than 4.6.0.
- 2.3
- Do not define uint32 as uint32_t but use it directly to avoid conflicts with system-defined types on some OSes.
- 2.2
- a message-digest-primitive has no "state". Kon Lovett
- 2.1
- Fixed typo in setup file that caused the extension to get installed under the name "m5"
- 2.0
- Chicken 4 implementation. Replaced GPL code with common public domain code.
- 1.1
- Added dependency on message-digest egg
- 1.0
- Initial release
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.