https://secure.packetizer.com/pwgen/
I would welcome any comments, especially if you find an error in the math.

Code: Select all
print GeneratePassword($password_length,0) . "\n";
Code: Select all
print GeneratePassword($password_length,1) . "\n";
Code: Select all
#
# MAIN
#
{
my $password_length;
my $use_special_characters = 0;
#
# Grab the requested password length from the command-line
#
if ($#ARGV >= 0)
{
$password_length = $ARGV[0];
if (!($password_length > 0))
{
$password_length = $main::default_password_length;
}
}
else
{
$password_length = $main::default_password_length;
}
#
# Use special characters?
#
if ($#ARGV >= 1)
{
if ($ARGV[1] == 1)
{
$use_special_characters = 1;
}
}
# We will not utilize special char
print GeneratePassword($password_length,$use_special_characters) . "\n";
}
I'm not sure if the link above is intended to provide useful information or is just a spam link. However, I'm not very fond of password managers. It's more software that holds data and I have to share that with somebody else.MeaganR wrote:If you've never used an online password manager as part of your online safety program, you've been playing with fire. Do not get burned, because password hacking is relatively simple. I can say that an online password manager can help take the target off your rear.