ps -laxww for randmoness?timeofday for randmoness

Yanek Martinson yanek at novavax.nova.edu
Tue Dec 15 07:56:18 PST 1992


> 	gettimeofday(&tv, NULL);
> 	rand = tv.tv_usec + tv.tv_sec;

Someone trying to break your code could find out approximately when
the number was generated, then they would have a much smaller search
space to try.







More information about the Testlist mailing list