docs for hash functions