Where can I find a simple example of public key encryption and decryption code on Mac OS X? I'm upset that Apple's “Certificate, Key, and Trust Services Programming Guide” shows how to do this on iOS, but the required APIs ( SecKeyEncrypt , SecKeyDecrypt ) are apparently not available on Mac OS X. Perhaps a way to do this in "CryptoSample", but it doesn't look clear or simple, and the sample project is too old to open the current version of Xcode.
security openssl macos
Jwwalker
source share