Added pyhashxx as a hashing function of the key generator.