in reply to xkcd-style password generation
With a little adaption:
Some samples:perl -le '@w=grep{length()>5&&length()<8&&/^[a-z]+$/}<>;chomp@w;print +join" ",map{$w[rand@w]}1..4'</usr/share/dict/words
There are 23560 entries in my /usr/share/dict/words that match, giving 308106701416960000 different potential pass phrases. If an attacker can test 1 billion pass phrases per second, it takes almost 10 years to check the entire key space.octyl forrad ruble smoked unlit stamp finish stumpy baring pattu helium place tiptop sundri alumni anilla dodge blout spurl fasher lownly setal untar nuchal
I consider that secure enough for my Perlmonks password.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: xkcd-style password generation
by Tanktalus (Canon) on Feb 02, 2012 at 05:16 UTC | |
by BrowserUk (Patriarch) on Feb 02, 2012 at 13:46 UTC | |
Re^2: xkcd-style password generation
by LanX (Saint) on Feb 02, 2012 at 00:35 UTC |
In Section
Cool Uses for Perl