string Digest
Method to get digest
Return
digest result as String
Parameters
data
: data to digest as String
algorithm
: algorithm used in signature -> MD5,SHA-1 or SHA-256
Method to get digest
Return
digest result as String
Parameters
data
: data to digest as byte array
algorithm
: algorithm used in signature -> MD5,SHA-1 or SHA-256