createHashFunction

Returns a new HashFunction for incremental hashing.

The returned function accumulates data fed via UpdateFunction.update and produces a hash when finalized. The function should be closed after use.