My build using getentropy() was rejected. Although this is clearly recommended by documentation.
https://support.apple.com/guide/security/random-number-generation-seca0c73a75b/web
ITMS-90338: Non-public API usage - The app references non-public symbols in ***: _getentropy. If method names in your source code match the private Apple APIs listed above, altering your method names will help prevent this app from being flagged in future submissions. In addition, note that one or more of the above APIs may be located in a static library that was included with your app. If so, they must be removed. For further information, visit the Technical Support Information at http://developer.apple.com/support/technical/