in reply to Old random number generator

Maybe just copy the code from the old Perl version? It's not as if old versions of Perl are unavailable.