Close the digest, producing the final digest value and resetting the digest.
Slice to the hash in output buffer.
See Implementation
Close the digest, producing the final digest value and resetting the digest.