Switched seeding for random number generators