It uses rand() when it needs random numbers for the coefficients of the polynomial. I don't know what kind of security risk that poses, but it really should be using something better. Where can I get Blum-Blum-Shub source or documentation on the algorithm? -Ray