I need to generate some random data to add to my file for encryption. How can I do it? Would it be the same idea as generating a string of random characters?
Sort of:
NSData *randomData = @"what should i put here?";
And then use the rand () function to randomize the data?
Your help is greatly appreciated
user762034
source share