Remove code duplication from Philox generation

6 jobs for philox in 3 minutes and 16 seconds (queued for 4 seconds)