Implementing hash routing