Io Reference







Digests   /   MD5   /   MD5





An object for calculating MD5 hashes. Each hash calculation should instantiate its own MD5 instance.

Example:

digest := MD5 clone
digest appendSeq("this is a message")
out := digest md5String
 
 
 



appendSeq(aSequence)

Appends aSequence to the hash calculation. Returns self.
md5

Completes the MD5 calculation and returns the hash as a Buffer. Once this method is called, append() should not be called again on the receiver or it will raise an exception.
md5String

Returns a string containing a hexadecimal representation of the md5 hash.