Generates a canonicalized digest of the message/resource for signing or verification.
The message digest as a byte array.
Generates a canonicalized digest of any payload.
The digest as a byte array.