Important: This document may not represent best practices for current development. Links to downloads and other resources may no longer be valid.
Version 1.2, 2018-06-04
Moved to Retired Documents Library.
(Full Revision History)
Mac OS X 10.5.6, Xcode 3.1.3, iPhone OS 3.0
Mac OS X 10.5.6, iPhone OS 3.0 (Device *Only*)
This sample demonstrates the use of the two main Cryptographic API sets on the iPhone OS SDK. Asymmetric Key Encryption and random nonce generation is handled through the Security framework API set, whereas, Symmetric Key Encryption and Digest generation is handled by the CommonCrypto API set. The CryptoExercise sample brings both of these APIs together through a network service, discoverable via Bonjour, that performs a "dummy" cryptographic protocol between devices found on the same subnet.