Objective-C Helper for random string or number with length.