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