stop using urandom to generate random data