encrypted-message 0.2.0

Safely encrypt & store serializable data using AES-256-GCM.
Documentation
encrypted-message-0.2.0 has been yanked.

encrypted-message

crates.io docs.rs "Lint & run tests" workflow License

Safely encrypt & store serializable data using AES-256-GCM.

Install

[dependencies]
encrypted-message = "0.2"

Diesel support

EncryptedMessage implements FromSql & ToSql.

[dependencies]
encrypted-message = { version = "0.2", features = ["diesel", "diesel-<mysql|postgres>"] }

Examples

Security

This crate uses trusted, pure-Rust encryption using the aes_gcm crate from the Rust Crypto organization.

Keys are handled safely using the secrecy crate, which internally uses the zeroize crate (also from Rust Crypto) to zero-out the keys in memory when no longer used.