Nick-Mazuk / password

A password tool that will be very difficult to crack (unless you look at the code)
MIT License
1 stars 0 forks source link

How did you calculate the odds? #3

Open TheThirdOne opened 9 years ago

TheThirdOne commented 9 years ago

Based on my calculations the odds are 1:111,111,111

How did you get 1:1044?

TheThirdOne commented 9 years ago

And actually that is on a perfect implementation. Yours only uses 9999 digits. So once an old key is shown it is 1:9999.

Nick-Mazuk commented 9 years ago

That was based off of pure guessing with having no clue how the passcode is generated. Yes, it is smaller once you know how they are generated. How did you get 1:111,111,111.

TheThirdOne commented 9 years ago

9 possible lengths

sum(combos for each length) = 10 + 100 + 1,000 ... +1,000,000,000

I actually made a mistake in my previous odds it is 10x that.

Nick-Mazuk commented 9 years ago

Yes, you are right. I multiplied. On May 24, 2015, at 7:17 PM, Benjamin Landers notifications@github.com wrote:

9 possible lengths

sum(combos for each length) = 10 + 100 + 1,000 ... +1,000,000,000

I actually made a mistake in my previous odds it is 10x that.

— Reply to this email directly or view it on GitHub.