libslug 0.9.1

A Rust Library For Cryptography Intended For Slug20 That Supports X59 Certificate Format and Post-Quantum Cryptography
Documentation
//! # Symmetric Encryption
//! 
//! This module contains symmetric encryption algorithms. These algorithms can be used to encrypt and decrypt data using an encryption key. A nonce is automatically generated during encryption and is required for decryption.
//! 
//! ## Algorithms Implemented
//! 
//! [X] AES256-GCM (Block Cipher)
//! [X] XCHACHA20-POLY1305 (Stream Cipher) (Extended Nonce)
//! [ ] MORUS

#[cfg(feature = "xchacha20")]
/// XCHACHA20-POLY1305 Encryption/Decryption With Extended Nonce
pub mod chacha20;

#[cfg(feature = "aes256")]
/// AES256-GCM
pub mod aes256;

#[cfg(feature = "morus")]
/// Morus AEAD
pub mod morus;

// TODO: May be cfg feature password
#[cfg(feature = "aes256")]
pub mod password;