Finish Method
Completes the hash and returns the resulting message digest.
Syntax
public byte[] finish();
Remarks
This method finalizes the hashing operation and returns the message digest of the input data. Use it in conjuction with Reset and Update methods to process data in chunks.