Where can I find an industrial safe pseudo random number generator for Objective-C? Is there a built-in OS X SDK?
My question is basically the same as this , except that I am looking for PRNG secure .
EDIT:
Thank you all for your help. Here's a simple one-line tool for implementing / dev / random method:
-(NSData *)getRandomBytes:(NSUInteger)length { return [[NSFileHandle fileHandleForReadingAtPath:@"/dev/random"] readDataOfLength:length]; }
pepsi source share