Remix.run Logo
gzread 13 hours ago

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.

adrian_b 11 hours ago | parent | next [-]

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.

gzread 11 hours ago | parent [-]

Bruteforce search in increasing length order will find the password in within 1% of the same amount of time

themafia 11 hours ago | parent | prev [-]

> is about 1% smaller

Isn't it 10%?

gzread 11 hours ago | parent [-]

If there are 9 different characters that can be in a password.