dtmm.hashing

Taken from dask.hasking

Module Contents

dtmm.hashing.hash_buffer(buf, hasher=None)

Hash a bytes-like (buffer-compatible) object. This function returns a good quality hash but is not cryptographically secure. The fastest available algorithm is selected. A fixed-length bytes object is returned.

dtmm.hashing.hash_buffer_hex(buf, hasher=None)

Same as hash_buffer, but returns its result in hex-encoded form.