This code is useful for seeding other random number generators, so we might as well make it a separate source file.