logoalt Hacker News

gzreadyesterday at 7:38 AM2 repliesview on HN

No, it doesn't. The set of all passwords of exactly length N is about 1% smaller than the set of all passwords up to and including length N.


Replies

adrian_byesterday at 9:54 AM

The point is that you know that the password is not longer than N.

This indeed reduces the search domain by many orders of magnitude, i.e. by more than an order of magnitude for each character that you now know that it is not used by the password.

Knowing the length of the password does not matter only in antediluvian systems, which had severe restrictions on the length of a password, so you already knew that the password is no longer than, e.g., 8 characters.

show 1 reply
themafiayesterday at 10:23 AM

> is about 1% smaller

Isn't it 10%?

show 1 reply