Expand description
Symmetric encryption algorithms for the dcrypt library
This crate provides high-level symmetric encryption algorithms built on top of the primitives in dcrypt-primitives and uses the unified API error system.
Re-exports§
pub use aead::chacha20poly1305::derive_chacha20poly1305_key;pub use aead::chacha20poly1305::generate_salt;pub use aead::chacha20poly1305::ChaCha20Poly1305Cipher;pub use aead::chacha20poly1305::ChaCha20Poly1305CiphertextPackage;pub use aead::chacha20poly1305::ChaCha20Poly1305Key;pub use aead::chacha20poly1305::ChaCha20Poly1305Nonce;pub use aead::chacha20poly1305::XChaCha20Poly1305Cipher;pub use aead::chacha20poly1305::XChaCha20Poly1305Nonce;pub use aead::gcm::Aes128Gcm;pub use aead::gcm::Aes256Gcm;pub use aead::gcm::AesCiphertextPackage;pub use aead::gcm::GcmNonce;pub use aes::Aes128Key;pub use aes::Aes256Key;pub use cipher::Aead;pub use cipher::SymmetricCipher;
Modules§
- aead
- aes
- AES cipher implementations
- cipher
- Symmetric cipher traits for dcrypt-symmetric
- error
- Error handling for symmetric cryptographic operations
- streaming
- Streaming encryption APIs for large data
- validate
- Validation utilities for cryptographic operations
Enums§
- Error
- Primary error type for cryptographic operations
Statics§
- ERROR_
REGISTRY - Global error registry for recording errors during constant-time operations
Traits§
- Result
Ext - Extension trait for Result types
- Secure
Error Handling - Trait for secure error handling to prevent timing attacks
Type Aliases§
- Result
- Result type for cryptographic operations