Randomness on Apple Platforms (2024)
Summary
An in-depth tour of randomness options on Apple platforms, tracing the stack from legacy rand to arc4random and its variants, through corecrypto RNGs, getentropy, and Security/CommonCrypto paths. It provides insights into which APIs suit security-critical vs non-security contexts and highlights implementation caveats and deployment considerations.