Move PRNG seeding into common
Keep random data generation together