Package-level declarations

Types

Link copied to clipboard

The default SHA-256 hash function using the MessageDigest implementation. Each hash request will generate a new instance of the MessageDigest object, as these implementations are not thread safe. These MessageDigest instances however are relatively cheap to construct.

Link copied to clipboard

A SHA-256 hash function is a function used to turn the input bytes into a valid SHA-256 hash.

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.