Use a local RNG instance instead of the global GLib one