register hash functions instead of prfs