various utilities and tests of hash functions