#[repr(u8)]pub enum AeadAlgorithm {
Aes256Gcm = 1,
ChaCha20Poly1305 = 2,
}Expand description
Supported 256-bit quantum-resistant Authenticated Encryption with Associated Data (AEAD) schemes.
Variants§
Aes256Gcm = 1
AES-256-GCM (NIST SP 800-38D, 256-bit key, 96-bit nonce, 128-bit tag).
ChaCha20Poly1305 = 2
ChaCha20-Poly1305 (RFC 8439, 256-bit key, 96-bit nonce, 128-bit tag).
Implementations§
Trait Implementations§
Source§impl Clone for AeadAlgorithm
impl Clone for AeadAlgorithm
impl Copy for AeadAlgorithm
Source§impl Debug for AeadAlgorithm
impl Debug for AeadAlgorithm
Source§impl Default for AeadAlgorithm
impl Default for AeadAlgorithm
impl Eq for AeadAlgorithm
Source§impl Hash for AeadAlgorithm
impl Hash for AeadAlgorithm
Source§impl PartialEq for AeadAlgorithm
impl PartialEq for AeadAlgorithm
impl StructuralPartialEq for AeadAlgorithm
Auto Trait Implementations§
impl Freeze for AeadAlgorithm
impl RefUnwindSafe for AeadAlgorithm
impl Send for AeadAlgorithm
impl Sync for AeadAlgorithm
impl Unpin for AeadAlgorithm
impl UnsafeUnpin for AeadAlgorithm
impl UnwindSafe for AeadAlgorithm
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more