CryptoCompatibility

Last Revision:
Version 1.0, 2013-08-22
Shows common cryptographic operations using Apple APIs, with results that match OpenSSL and so on.
Build Requirements:
Xcode 4.6.3
Runtime Requirements:
OS X 10.7 or later

CryptoCompatibility shows how to do common cryptographic operations using Apple APIs such that the results match other common cryptographic APIs, most notably OpenSSL. Includes operations for Base64 encode and decode, MD5 digest, SHA1 digest, HMAC-SHA1 generation, PBKDF2-SHA1 key derivation, AES-128/192/256 encryption and decryption, RSA sign and verify, and RSA encryption and decryption.