atoponce / webpassgen

Simple web-based password generator
https://atoponce.github.io/webpassgen/
GNU Affero General Public License v3.0
142 stars 23 forks source link

Fix bug counting whitespace passwords #21

Closed atoponce closed 1 year ago

atoponce commented 1 year ago

There are 22 characters of different byte sizes:

At 22 unique whitespace characters, that's log2(22) ~= 4.459 bits per character. That means we should expect these character counts for the following minimum security levels: