Skip to content

Instantly share code, notes, and snippets.

@allolex
Created March 21, 2012 17:25
Show Gist options
  • Save allolex/2149819 to your computer and use it in GitHub Desktop.
Save allolex/2149819 to your computer and use it in GitHub Desktop.
A Perl script for generating a strong password using String::MkPasswd
#!/usr/bin/env perl
use String::MkPasswd qw/mkpasswd/;
print mkpasswd(
-length => 12,
-minnum => 4,
-minlower => 3,
-minupper => 4,
-minspecial => 1,
-distribute => 0,
) . "\n";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment