CryptoExercise

Last Revision:
Version 1.2, 2009-05-13
Adopted iPhone OS 3.0 UITableView and UITableViewCell APIs. Added check for availability of WiFi network. Made minor bug fix in hash computation.
(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.