Wraps Apple's CryptoKit framework for Swift apps targeting iOS 13+. Handles SHA256/384/512 hashing, HMAC authentication codes, AES-GCM and ChaChaPoly symmetric encryption, ECDSA signing with P256/P384/P521 curves plus Ed25519, ECDH key agreement, and Secure Enclave hardware key storage. The skill covers both one-shot and incremental operations, shows how to properly derive keys from shared secrets using HKDF, and includes authenticated encryption with additional data. CryptoKit is the modern replacement for CommonCrypto in Swift, so reach for this when you need production-grade crypto without wrestling with C APIs or managing your own constant-time comparisons.

skills.sh installs
3.3K
GitHub stars
1.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add dpearson2699/swift-ios-skills --skill cryptokit --agent claude-code

Installs into .claude/skills of the current project.

Files

CryptoKit

Apple CryptoKit provides a Swift-native API for cryptographic operations: hashing, message authentication, symmetric encryption, public-key signing, key agreement, HPKE, quantum-secure key encapsulation/signing, and Secure Enclave-backed keys. Most core primitives are available on iOS 13+; check availability for HPKE (iOS 17+) and SHA-3 / post-quantum APIs (iOS 26+). Prefer CryptoKit over CommonCrypto or raw Security framework APIs for new cryptographic primitive code targeting Swift 6.3+.

Contents

Hashing

Use SHA256/SHA384/SHA512 on iOS 13+; SHA3_256/SHA3_384/SHA3_512 require iOS 26+. All conform to HashFunction.

One-shot hashing

import CryptoKit

Sponsors

Details

Repository
github.com/dpearson2699/swift-ios-skills
Categories
Data Science & ML, Mobile Development, Finance & Trading
First seen
May 16, 2026

More from dpearson2699/swift-ios-skills

All 98
1himself65 avatartwitter-readerhimself65/finance-skillsRead Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets,3.3Kskills.sh installs
2openai avatarnotion-meeting-intelligenceopenai/skillsPrepare meeting materials with Notion context and Codex research; use when gathering context, drafting agendas/pre-reads, and tailoring materials to attendees.3.3Kskills.sh installs
3ar9av avatarwiki-exportar9av/obsidian-wikiExport the Obsidian wiki's knowledge graph to structured formats for use in external tools. Use this skill when the user says "export wiki", "export graph", "ex3.3Kskills.sh installs
4google-deepmind avatarliterature-search-openalexgoogle-deepmind/science-skillsQuery the OpenAlex scholarly database for research papers, authors, institutions, topics, sources, publishers, funders, geo-locations, and keywords. Use when se3.2Kskills.sh installs
5affaan-m avatarggetaffaan-m/eccgget CLI and Python workflow for quick genomic database queries, sequence lookup, BLAST-style searches, enrichment checks, and reproducible bioinformatics evide3.2Kskills.sh installs
6affaan-m avataruspto-databaseaffaan-m/eccUSPTO patent and trademark data workflow for official record lookup, PatentSearch queries, TSDR checks, assignment data, and reproducible IP research logs.3.2Kskills.sh installs