
Description
CryptoKit is an agent skill for using Apple's CryptoKit framework for cryptographic work in Swift. CryptoKit provides a Swift-native API for hashing, message authentication codes, symmetric encryption, public-key signing, key agreement, HPKE, and Secure Enclave-backed keys. The skill's guidance covers hashing with SHA-2 or SHA-3, generating HMACs, encrypting with AES-GCM or ChaChaPoly, and signing data. It also points out the availability of each primitive. Most core primitives work on iOS 13 and later, HPKE needs iOS 17 or later, and SHA-3 and the post-quantum APIs need iOS 26 or later. The skill recommends CryptoKit over CommonCrypto or raw Security framework calls for new cryptographic code in Swift 6.3 and later. It is part of the swift-ios-skills collection by dpearson2699, which is public on GitHub. It is for iOS developers who need to protect data, verify it or derive keys, and want an agent to pick the right primitive and check that it is available on the deployment target.…
Highlights
- Hashing with SHA-2 and SHA-3
- HMACs, AES-GCM and ChaChaPoly encryption
- Public-key signing and HPKE
- Secure Enclave-backed keys and availability checks
Ratings & Reviews
No ratings yet
Be the first to rate cryptokit.
People also visit
cryptokit FAQ
What is the CryptoKit skill?
An agent skill for Apple's CryptoKit framework, covering hashing, message authentication, encryption, signing and key agreement in Swift.
How do I install it?
Run npx skills add https://github.com/dpearson2699/swift-ios-skills --skill cryptokit in your project.
Which OS versions support each primitive?
Most core primitives need iOS 13 or later, HPKE needs iOS 17 or later, and SHA-3 and post-quantum APIs need iOS 26 or later.
Why CryptoKit instead of CommonCrypto?
The skill recommends CryptoKit for new cryptographic code in Swift 6.3 and later, over CommonCrypto or raw Security framework APIs.
Which security audits has it passed?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best cryptokit alternatives?
Popular alternatives to cryptokit include swift-security, trailofbits/constant-time-analysis and cyberchef-mcp. See all cryptokit alternatives













