// create an MD5 hash algorithm Md5 hash = new Md5(); // process some data hash.update("The quick brown fox"); // process some more data hash.update(" jumps over the lazy dog"); // conclude algorithm and produce digest ubyte[] digest = hash.binaryDigest();
ubyte[] buffer | a buffer can be supplied for the digest to be written to |
char[] buffer | a buffer can be supplied in which the digest will be written. It needs to be able to hold 2 * digestSize chars |