get key hash