If repeating is allowed than you can generate "10^6" passwords of length "6" with "10" digits.
If repeating is allowed than you can generate "10^3\\cdot(26-2)^2" passwords of length "3+2."
If both codes are implemented, the first followed by the second you can generate "10^6\\cdot10^3\\cdot(26-2)^2=5.76\\cdot10^{11}" passwords.
Hence probability of gaining access in a single attempt is
"p=\\dfrac{1}{5.76\\cdot10^{11}}=1.736\\times10^{-12}"
Comments
Leave a comment