1. A method, comprising: retrieving, by a router, a hash function; generating, by the router, a tabulation of the hash function; generating, by the router, keys from the tabulation; denoting, by the router, heads in the keys; twisting, by the router, the heads to generate a twisted hash function; and storing, by the router, the twisted hash function.