by Fixnum · 13y ago · 0 comments
$ wc -l /usr/share/dict/words
119095
$ python -c 'print(119095 ** 4)'
201175048646341950625
$ python -c 'print(85 ** 10)'
19687440434072265625
So, even if your target is known to be using this scheme in pure form, this has more entropy than a completely random 10-digit password (assuming ~85 characters) -- and who would actually be using such a thing, except someone using a password management program - who could just as easily be using a 20-character random password?So even if it becomes known, it's an improvement on what users are doing now.
$ perl -E 'open(my $fh, "<", "/usr/share/dict/words"); my @words = map {chomp; $_} <$fh>; close $fh; say join " ", map {$words[int rand @words]} 1..4'
menu chemists administrative seeps
Might have to run it a couple of times before you get something that you can memorize. shuf -n 4 /usr/share/dict/words | tr -dc 'A-Za-z0-9'