MirOS Manual: md5(9), MD5Init(9), MD5Transform(9)

MD5(9)                        BSD Kernel Manual                         MD5(9)


     md5 - message digest routines


     #include <sys/kernel.h>

     MD5Init(u_int32_t buf[4]);

     MD5Transform(u_int32_t buf[4], u_int32_t const in[16]);


     The md5 module implements the RSA Data Security, Inc. MD5 Message-Digest
     Algorithm (MD5). It produces 128-bit MD5 Digest of data.

     MD5Init       must be called just before MD5Transform() will be used to
                   produce a digest. The buf argument is the storage for the
                   digest being produced on subsequent calls to the
                   MD5Transform() routine.

     MD5Transform is the core of the MD5 algorithm, this alters an existing
                   MD5 hash kept in buf to reflect the addition of 16 long-
                   words of new data passed in in argument.


     The code for MD5 transform was taken from Colin Plumb's implementation,
     which has been placed in the public domain. The MD5 cryptographic check-
     sum was devised by Ronald Rivest, and is documented in RFC 1321, "The MD5
     Message Digest Algorithm".


     random(4), random(9)

MirOS BSD #10-current           April 17, 1996                               1

Generated on 2015-07-19 22:36:15 by $MirOS: src/scripts/roff2htm,v 1.80 2015/01/02 13:54:19 tg Exp $

These manual pages and other documentation are copyrighted by their respective writers; their source is available at our CVSweb, AnonCVS, and other mirrors. The rest is Copyright © 2002–2015 The MirOS Project, Germany.
This product includes material provided by Thorsten Glaser.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report – diffs preferred.