CryptoExercise

Last Revision:
Version 1.2, 2018-06-04
Moved to Retired Documents Library.
(Full Revision History)
Build Requirements:
Mac OS X 10.5.6, Xcode 3.1.3, iPhone OS 3.0
Runtime Requirements:
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.