digest

abstract fun digest(): ByteArray

Finalize the hash computation and return the digest bytes. The hash function will be reset after the call is made.