Move hash key (cache) function