On 16 Sep 2000 22:40:24 -0400, Chaim Frenkel wrote:
>BL> Therefore, crypt() should have it's own pseudo-random generator. A
>BL> simple task, really: same code, but a different seed variable.
>
>Should rand be extended to be able to support multiple random number
>generators?
Not just srand().
Actually, if you want this, this is an excellent candidate for the
"every primitive should be an oject" idea: make a random number
generator an object. Each one can easily have it's own inter-independent
sequence.
--
Bart.