Use Apple CryptoKit for Swift cryptographic primitives. Use when hashing with SHA-2 or SHA-3, generating HMACs, encrypting with AES-GCM or ChaChaPoly, signing with P256/P384/P521/Curve25519 or ML-DSA keys, performing ECDH, HPKE, ML-KEM, or X-Wing key exchange, using Secure Enclave CryptoKit keys, or migrating CommonCrypto code to CryptoKit.
$npx -y skills add dpearson2699/swift-ios-skills --skill cryptokitInstalls into the current project.
Run `npx skills use "https://github.com/dpearson2699/swift-ios-skills" --skill "dpearson2699/swift-ios-skills/cryptokit"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/dpearson2699/swift-ios-skills" that are relevant to the current task. Run `npx skills add "https://github.com/dpearson2699/swift-ios-skills"` and select the relevant skills, then follow their instructions.