Changed chash key generation.