CryptoSwift is a cryptography library implemented entirely in the Swift programming language. It provides a collection of standard cryptographic algorithms for encryption, decryption, and hashing without relying on native C libraries or system frameworks.
The library supports symmetric and asymmetric encryption, including RSA key generation and signature management. It features authenticated encryption schemes and the ability to generate cryptographic digests for data integrity verification.
The toolset covers message authentication codes, secure key derivation from passwords, and data padding. It includes utilities for converting data between binary, string, hexadecimal, and Base64 formats. For large datasets, the library supports incremental data processing via stateful stream processing to manage memory usage.