Retired Document
Important: This document may not represent best practices for current development. Links to downloads and other resources may no longer be valid.
CryptoExercise
Last Revision: | |
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.
Copyright © 2018 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2018-06-04