in reply to Re: Random data generation.
in thread Random data generation.

Yep. That's pretty much exactly what I came up with for my first attempt. Though I think I needed one more flag.