Date: Tue, 10 Jul 2001 22:01:42 +0900 (JST) From: HIRATA Yasuyuki <yasu@asuka.net> To: mike@sentex.net Cc: jim@siteplus.net, stable@freebsd.org Subject: Re: Generating encrypted passwords Message-ID: <20010710220142V.yasu@asuka.net> In-Reply-To: <4.2.2.20010710081901.05a68008@192.168.0.12> References: <200107100306.NAA21657@lightning.itga.com.au> <Pine.BSF.4.21.0107100336560.1040-100000@veager.siteplus.ne t> <4.2.2.20010710081901.05a68008@192.168.0.12>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, From: Mike Tancsa <mike@sentex.net> To: Jim Weeks <jim@siteplus.net> Subject: Re: Generating encrypted passwords Date: Tue, 10 Jul 2001 08:23:47 -0400 Message-ID: <4.2.2.20010710081901.05a68008@192.168.0.12> > What about a > srand (time ^ $$ ^ unpack "%L*", `ps -auxw | gzip`); > > at the start of your program If you use perl 5.005 or later, it's better to call srand without seed or not to call srand at all. See perldoc -f srand for detail. ---- HIRATA Yasuyuki http://yasu.asuka.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010710220142V.yasu>