Date: 04/29/01
- Next message: hholzgra <email protected>: "[PHP-DEV] Bug #10550 Updated: mktime() returns -1 for certain valid dates"
- Previous message: Andi Gutmans: "Re: [PHP-DEV] Re: Crypt salts not random.. (fwd)"
- In reply to: Andi Gutmans: "Re: [PHP-DEV] Re: Crypt salts not random.. (fwd)"
- Next in thread: Alexander Feldman: "RE: [PHP-DEV] Re: Crypt salts not random.. (fwd)"
- Reply: Alexander Feldman: "RE: [PHP-DEV] Re: Crypt salts not random.. (fwd)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> > > In order to avoid this you actually have to call it at completely
> > different
> > > times, something you can't really guarantee. We should
> probably not use
> > > the timestamp as the seed (at least not alone), but also take
> the pid into
> > > account.
> > >
> > > Zeev
> > >
> >
> >That only really works for forking webservers, does it not? Another
> >alternative
> >would be to use microseconds...
>
> Yeah we could use microseconds but are they available on all platforms?
> In any case, on non-forking servers we can use thread id.
We have accuracy to milliseconds only on Win32.
- James
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: hholzgra <email protected>: "[PHP-DEV] Bug #10550 Updated: mktime() returns -1 for certain valid dates"
- Previous message: Andi Gutmans: "Re: [PHP-DEV] Re: Crypt salts not random.. (fwd)"
- In reply to: Andi Gutmans: "Re: [PHP-DEV] Re: Crypt salts not random.. (fwd)"
- Next in thread: Alexander Feldman: "RE: [PHP-DEV] Re: Crypt salts not random.. (fwd)"
- Reply: Alexander Feldman: "RE: [PHP-DEV] Re: Crypt salts not random.. (fwd)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

