Haval Hash Crypto implementation