password attempts

146 Views Asked by At

The password must have a length of 8 and be composed of lower case letters and/or numbers (letters and numbers can be repeated).

Suppose someone wants to access your online bank account. How many passwords would they have to try before being able to log into your online bank account?

My answer: $(26+10)^8$

Suppose you knew the last 6 chars/numbers of someone's password, how many passwords would you have to try before being able to log into their online bank account?

My answer: $36 \times 36$

Thoughts please. Thanks.