What's the difference between arc4random and random?
random
is known to be predictable and thus not to be used for secure pseudo-random number generation. arc4random
is a newer, less predictable pseudo-random number generator. If you are not using it for anything secure, random
will work fine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With