Vary token len with hash_type