If repeating is allowed than you can generate passwords of length with digits.
If repeating is allowed than you can generate passwords of length
If both codes are implemented, the first followed by the second you can generate passwords.
Hence probability of gaining access in a single attempt is
Comments