Add variable hash length option