Ensure the hex key can be generated if the length is ommited