cryptokit

Community

Secure Swift cryptography with CryptoKit

AuthorDFly7
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Helps developers implement correct, modern cryptographic operations in Swift by providing clear patterns and safe defaults for hashing, HMAC, authenticated encryption, signing, key agreement, and Secure Enclave usage so apps avoid common crypto pitfalls.

Core Features & Use Cases

  • Hashing & HMAC: SHA256/SHA384/SHA512 hashing and HMAC generation/verification with constant-time checks.
  • Authenticated Encryption: AES-GCM and ChaChaPoly usage patterns, nonce guidance, AAD handling, and sealed-box anatomy for safe encryption and decryption.
  • Public-Key Operations & Key Agreement: ECDSA/Ed25519 signing, ECDH key agreement with HKDF-based key derivation, signature formats, and interoperability notes.
  • Secure Enclave & Key Storage: Creating, protecting, exporting, and restoring Secure Enclave keys and guidance for Keychain storage and export compliance.
  • Migration & Best Practices: CommonCrypto migration recipes, performance considerations, and a review checklist to validate secure implementations.

Quick Start

Use the cryptokit skill to generate or import keys, derive a symmetric key with HKDF, encrypt data with AES-GCM or ChaChaPoly, and sign or verify a message.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cryptokit
Download link: https://github.com/DFly7/iOS-FastAPI-Supabase-AI/archive/main.zip#cryptokit

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.