Parameterize the hash character length.