hash

Computes the digest of the ByteArray.

Parameters

bytes

The ByteArray to hash.


Computes the digest of the String's UTF-8 byte contents.

Parameters

str

String whose UTF-8 contents will be hashed.