Changed base class of SimpleHasher to HashFunction