To my ear, using the singular form 'digit' sounds wrong. I prefer 'digits' here. Otherwise it sounds like input is restricticted to a single digit.