Computes the digest of the ByteArray.
The ByteArray to hash.
Computes the digest of the String's UTF-8 byte contents.
String whose UTF-8 contents will be hashed.