ThreadLocalSha256MessageDigestHashFunction

A SHA-256 hash function using the MessageDigest implementation. Unlike the default implementation, this one will utilize a thread-local implementation of the MessageDigest instances, which are all reset before use.

Functions

Link copied to clipboard
open override fun hash(input: ByteArray): ByteArray

The hash function takes an input byte array and turns it into a valid SHA-256 hash.