Crate tindercrypt

Source
Expand description

§Tindercrypt

Tindercrypt is a library that supports data encryption with symmetric cryptographic keys or passwords/passphrases. It supports AES256-GCM and ChaCha20-Poly1305 for encryption/decryption, and PBKDF2 for key derivation. These cryptographic primitives are provided by the Ring crypto library.

Tindercrypt’s main goal is to provide a safe and easy API for data encryption. The user of this library simply chooses an encryption algorithm and provides a key/passphrase to encrypt their data. To decrypt their data, they provide the same key/passphrase. Behind the scenes, Tindercrypt generates the necessary encryption metadata (salts, nonces, etc.) and bundles them with the encrypted data, so that it can retrieve them when decrypting the data later on.

You can learn how Tindercrypt handles encryption metadata in the metadata module.

Modules§

aead
AEAD helpers
cryptors
Cryptor structs for encryption/decryption
errors
Tindercrypt errors
metadata
Tindercrypt Metadata
pbkdf2
PBKDF2 helpers
proto
rand
Utilities for random numbers