do_rand () renamed to secure_random ()