add haval hashing support