Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jan 2007 06:54:45 -0600
From:      Kirk Strauser <kirk@strauser.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Adduser utility to generate "random" passwds ?
Message-ID:  <200701080654.45757.kirk@strauser.com>
In-Reply-To: <ent9pr$r1d$1@sea.gmane.org>
References:  <45A22099.3060208@esiee.fr> <ent9pr$r1d$1@sea.gmane.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Monday 08 January 2007 5:26 am, Ivan Voras wrote:

> Here's an idea:
>
> $ head -c 64 /dev/random | md5 | head -c 10

Hugely bad idea.  Since md5 outputs hex, you're only getting 4 bits of 
entropy per character.  Much better to use something like sysutils/pwgen to 
generate good random passwords.
-- 
Kirk Strauser

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iD8DBQBFoj8V5sRg+Y0CpvERAvZ6AJ0W4LKIjks9pV/cc1zLFtShBMvxBACfRjmZ
HJeLqUXtoGCm9KMBSX5YqU8=
=I5mg
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701080654.45757.kirk>