Added hashKey()
Added test and benchmarking for hashKey()