What if correct horse battery staple
, but Pokémon.
cargo install pkpw
$ pkpw -h
pkpw 1.2.4
Jesse Brooklyn Hannah <[email protected]>
What if correct horse battery staple, but Pokémon.
USAGE:
pkpw [OPTIONS]
OPTIONS:
-c, --copy Copy the generated value to the clipboard instead of displaying
it
-h, --help Print help information
-l, --length <LENGTH> Minimum length of the generated password
-n, --count <COUNT> Number of Pokémon names to use in the generated password
[default: 4]
-s, --separator <SEPARATOR> Separator between Pokémon names in the generated password; either
a single character, "digit" for random digits, or "special" for
random special characters [default: " "]
-V, --version Print version information
use pkpw::generate;
use rand::thread_rng;
let mut rng = thread_rng();
let password = generate(None, 4, " ", &mut rng);
Disclaimer: These are just estimates, I have a physics degree but I'm not a combinatorics or cryptography expert.
Password entropy is calculated using the pool size
where a brute-force attack will need an average of
By default, pkpw
chooses 4 Pokémon names from the pool of 1025 known
Pokémon, resulting in an entropy of
bits. A dictionary attack that knows to use the 1025 known Pokémon names as the
pool of values would take
At an average length of about 7.67 characters per Pokémon name, passwords generated using the default settings have an average length of about 34 characters (4 Pokémon names, plus one space separating each name for a total of 3 spaces). A brute-force attack that uses a pool of 95 standard US keyboard characters (alphanumeric, special characters, and space) would be working against
bits of entropy, taking an average of
All Pokémon names are ™ and © The Pokémon Company, Inc. Everything else in this project is © Jesse Brooklyn Hannah and released under the terms of the MIT License.