krzyzanowskim/CryptoSwift
CryptoSwift is a growing collection of standard and secure cryptographic algorithms implemented in Swift observed · 2026-08-28
Health v2 · maintenance only
81/100
- Activity 98
- Release rhythm 48
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 185
- age_days: 4441
- days_rel: 133
- days_push: 14
- n_releases_24m: 4
Adoption not part of the score
10568 stars · 1800 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
CryptoSwift is a pure Swift library providing standard cryptographic algorithms including AES, ChaCha20, SHA family hashes, HMAC, and CRC. It offers convenient Swift extensions and streaming APIs across Apple platforms, Linux, and Android.
Use cases
- encrypt and decrypt data with AES in Swift
- compute SHA-256 or MD5 hashes of strings or files
- generate HMAC signatures for API authentication
- implement ChaCha20 stream cipher encryption
- calculate CRC32 checksums in Swift
- hash passwords and verify digests cross-platform on Linux
When to choose
- you need pure Swift crypto without C dependencies like CommonCrypto
- you want convenient String/Data extensions for hashing and encryption
- you target Apple platforms plus Linux or Android with one codebase
- you need streaming or incremental hash/cipher updates
When to avoid
- you need formally audited or constant-time crypto for highly sensitive production secrets
- you only need Apple-platform crypto and can use the system CommonCrypto/CryptoKit
- you need advanced protocols like TLS, certificates, or public-key infrastructure
- you require FIPS-validated implementations
Facets
library · maturity active
cryptography security serialization security developer-tools cross-platform cross-platform aes hashing hmac chacha20 pure-swift digest ciphers sha3 swift-package-manager macos ios linux android swift
2 sources
- readme: https://github.com/krzyzanowskim/CryptoSwift · fetched 2026-08-28 · 1b7a97c35356
- homepage: http://cryptoswift.io · fetched 2026-08-29 · 5b16345c9ca6
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| krzyzanowskim/CryptoSwift | main | 81 |
For agents
markdown · JSON · MCP: product_card(name="krzyzanowskim/CryptoSwift")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem