Does any body knows if GameplayKit can generate true random numbers? Does swift 5 has any function to create true random numbers?
Thank you!
Does any body knows if GameplayKit can generate true random numbers? Does swift 5 has any function to create true random numbers?
Thank you!
True random numbers, no. Even with GameplayKit’s random number generators you’ll always get pseudo random numbers (which are good enough in most cases). For true random numbers you’ll have to use the cryptography frameworks.
Where does one find this cryptography frameworks ??
Thank you