md5 - MD5 Message Digest Algorithm

Module Description

The md5 module implements the MD5 algorithm.

Module Words

MD5 Structure

md5% ( -- n )
Get the required space for a md5 variable

MD5 variable creation, initialisation and destruction

md5-init ( md5 -- )
Initialise the MD5 variable

md5-create ( "<spaces>name" -- ; -- md5 )
Create a named MD5 variable ein the dictionary

md5-new ( -- md5 )
Create a new MD5 variable on the heap

md5-free ( md5 -- )
Free the MD5 variable from the heap

MD5 words

md5-reset ( md5 -- )
Reset the MD5 state

md5-update ( c-addr u md5 -- )
Update the MD5 with more data c-addr u

md5-finish ( md5 -- u1 u2 u3 u4 )
Finish the MD5 calculation, return the result u1 u2 u3 u4

md5+to-string ( u1 u2 u3 u4 -- c-addr u )
Convert MD5 result to the string, using the pictured output area

Inspection

md5-dump ( md5 -- )
Dump the md5 variable


generated 10-Apr-2008 by ofcfrth-0.5.0