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

Is there a problem with my solution?

No. I'm just considering all options, not just the first posted.