iPhone OS Reference Library Apple Developer Connection spyglass button

Version: 1.2

Posted: 2009-05-13

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*)

View Source Code:

Download Sample Code (“CryptoExercise.zip”, 61.9K)



Description

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.

Document Revision History

Date Notes
2009-05-13Adopted iPhone OS 3.0 UITableView and UITableViewCell APIs. Added check for availability of WiFi network. Made minor bug fix in hash computation.
2009-01-27Rectified potential leaks.
2008-09-25Highlights the Cryptographic APIs found in the Security framework and CommonCrypto for the iPhone OS SDK
Did this document help you? Yes It's good, but... Not helpful...