get Digits Valid Index

private open fun getDigitsValidIndex(secureRandom: SecureRandom): Int

Method used to get a valid index from the DIGITS set

Return

a valid index as int

Parameters

secureRandom

The secure random instance used to generate the characters made up the password