pub struct AeadCiphertext {
pub alg: &'static str,
pub nonce: [u8; 12],
pub ciphertext: Vec<u8>,
pub pad_bucket: u32,
}Expand description
Random-nonce AES-256-GCM ciphertext plus the pad bucket used.
Fields§
§alg: &'static str§nonce: [u8; 12]§ciphertext: Vec<u8>§pad_bucket: u32Trait Implementations§
Source§impl Clone for AeadCiphertext
impl Clone for AeadCiphertext
Source§impl Debug for AeadCiphertext
impl Debug for AeadCiphertext
impl Eq for AeadCiphertext
Source§impl PartialEq for AeadCiphertext
impl PartialEq for AeadCiphertext
impl StructuralPartialEq for AeadCiphertext
Auto Trait Implementations§
impl Freeze for AeadCiphertext
impl RefUnwindSafe for AeadCiphertext
impl Send for AeadCiphertext
impl Sync for AeadCiphertext
impl Unpin for AeadCiphertext
impl UnsafeUnpin for AeadCiphertext
impl UnwindSafe for AeadCiphertext
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