contents   index   previous   next



term()

syntax:

md5.term()

return:

buffer - The computed checksum for this md5 object

 

description:

This method MUST be called in order to correctly dispose of the md5 object. It returns a buffer, 16 bytes long, representing the md5 checksum for this object. It also frees up any memory being used by the object.

 

see:

#link <md5>

 

example:

var md5sum = new md5();

md5.update("hi");

var digest = md5.term();

// digest is now equal to the checksum of "hi"

 


update()