cipher
Simple, safe cryptography for Rust. Encryption, hashing, signatures.
Features
- Encryption: AES-GCM, ChaCha20-Poly1305
- Hashing: SHA-256, BLAKE3, Argon2
- Signatures: Ed25519, ECDSA
- Key Derivation: HKDF, PBKDF2
Installation
[]
= { = "https://github.com/KooshaPari/cipher" }
Usage
use ;
let encrypted = encrypt?;
let decrypted = decrypt?;
let signature = sign?;
verify?;
License
MIT