Sample Code

Performing Common Cryptographic Operations

Use CryptoKit to carry out operations like hashing, key generation, and encryption.

Download

Overview

See Also

Essentials

Complying with Encryption Export Regulations

Declare the use of encryption in your app to streamline the app submission process.

Storing CryptoKit Keys in the Keychain

Convert between strongly typed cryptographic keys and native keychain types.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software