Ivan Rodriguez

2pods

IRCrypto

IRCrypto aims to provide the following:

Cryptographic Key Derivation (using PBKDF2 with 10,000 rounds) from a String Symmetric AES Key generation (128, 256, 512 bits) Asymmetric RSA Key generation (1024, 2048 and 4096 bits) Asymmetric EC Key generation (256, 384 and 521 bits) (Read More) Data hashing (using SHA256) Data signing (using HMAC - SHA256 + 256 bit key) Symmetric Encryption (AES in CBC mode) Asymmetric Encryption (RSA) Authenticated Encryption using the Encrypt-then-MAC scheme (AES in CBC mode and HMAC) [RNCryptor Data Format v3] Public Key Encryption with Authenticated Encryption (RSA + AES in CBC mode and HMAC) [RNCryptor Data Format v3] You can also:

Save the generated keys (AES, RSA, EC) in the Keychain and protect them with TouchID and/or a user generated password Generate an asymmetric key pair (RSA) for signing data, where the private key will never be returned and just used for singning directly from the Secure Enclave

License: MIT

  • Objective C

nuntius

nuntius is an iOS framework that helps iOS developers integrate end-to-end encryption (e2ee) into their apps with simple APIs. It provides an objc implementation of the Extended Triple Diffie-Hellman (X3DH) and Double Ratchet protocols using libsodium for most of the crypto operations. nuntius provides Authenticated Encryption with Associated Data (AEAD) via AES-CBC-HMAC-256, it uses Apple's CommonCrypto framework for this operations, but in the future I'll move to libsodium-only crypto and use ChaCha20-Poly1305 instead.

License: MIT

  • Objective C