How would you generate random data in an application?