Jabber Server?

Rudi Chiarito nutello at sweetness.com
Mon Mar 7 20:57:40 UTC 2005


On Mon, Mar 07, 2005 at 10:11:16AM +0100, Enrico Scholz wrote:
>    | dd if=/dev/urandom bs=20 count=1 | sha1sum
>    which creates an 80bit password

I guess that's 160 bits - regardless of the input length, too. In this
particular case, are the SHA-1 hashes of all the random sequences of 160
bits going to be unique?

I just use

dd if=/dev/urandom count=1 bs=X 2>/dev/null | hexdump -v -e '1/1 "%02x"'

(hexdump is in util-linux)

-- 
Rudi




More information about the fedora-extras-list mailing list