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>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1549858.aULDDBLNkL
Content-Type: text/plain;
  charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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=20
entropy per character.  Much better to use something like sysutils/pwgen to=
=20
generate good random passwords.
=2D-=20
Kirk Strauser

--nextPart1549858.aULDDBLNkL
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

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

--nextPart1549858.aULDDBLNkL--



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