Digest
Calculate Data Digest
Calculates the specific digest of a byte array. This function requires inputs as follows:
Data
1 : Byte array, data for which digest will be calculated.Message Digest
2 : Enumeration, type of digest algorithm used in digest calculation.
If successful, returns a byte array containing the calculated digest 3.