krzyzanowskim/cryptoswift

CryptoSwift is a growing collection of standard and secure cryptographic algorithms implemented in Swift

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 19 minutes ago
Added to GitGenius on September 5th, 2026
Created on July 6th, 2014
Open Issues & Pull Requests: 4 (+0)
GitHub issues: Disabled - open counts may still include pull requests.
Number of forks: 1,804
Total Stargazers: 10,574 (+0)
Total Subscribers: 184 (+0)

Repository Insights (GitGenius)

Most active contributors

Sign in to see contributor activity.

Related repositories by overlapping contributors

No overlapping-contributor repos identified yet.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

GitHub issues are disabled for this repository, so issue analytics and the issue explorer are not available.

Detailed Description

CryptoSwift is a cryptographic library that provides pure Swift implementations of standard and secure cryptographic algorithms.

The library addresses the need for cryptographic primitives in Swift applications without requiring external C dependencies. It implements algorithms across multiple categories: hash functions including MD5, SHA1, SHA2 variants, and SHA3; symmetric ciphers such as AES, ChaCha20, XChaCha20, Rabbit, and Blowfish; message authenticators including HMAC, Poly1305, CMAC, and CBC-MAC; cyclic redundancy checks; and RSA for public-key encryption and signatures. The pure Swift approach means all cryptographic operations are implemented directly in Swift rather than wrapping system libraries or C code.

Developers should choose this tool if they need cryptographic functionality in Swift applications targeting Apple platforms, Linux, or Android without introducing C dependencies. It suits projects requiring standard algorithms with convenient extensions for common Swift types like String, Data, and Array<UInt8>. The library supports incremental updates and streaming APIs for processing large amounts of data. The minimum Swift version requirement is 5.6, with support across iOS 11, macOS 10.13, Mac Catalyst 13, tvOS 11, watchOS 4, and visionOS 1.

The project maintains active development with regular updates to support current Swift toolchains. Contributions are actively solicited and the project sustains itself through GitHub Sponsors. The codebase exercises compatibility across Apple platforms, Linux, and Android through continuous integration. Legacy branches are available for developers using older Swift compilers, though these branches are not actively maintained.