pub struct EncappedKeyAndCiphertext {
pub encapped_key: Vec<u8>,
pub ciphertext: Vec<u8>,
}Expand description
Encapsulated key and ciphertext.
Obtained from crate::base_mode_seal::base_mode_seal.
Fields§
§encapped_key: Vec<u8>The encapsulated encryption key
ciphertext: Vec<u8>The ciphertext, encrypted with the key
Implementations§
Trait Implementations§
Source§impl Clone for EncappedKeyAndCiphertext
impl Clone for EncappedKeyAndCiphertext
Source§impl Debug for EncappedKeyAndCiphertext
impl Debug for EncappedKeyAndCiphertext
impl Eq for EncappedKeyAndCiphertext
Source§impl PartialEq for EncappedKeyAndCiphertext
impl PartialEq for EncappedKeyAndCiphertext
impl StructuralPartialEq for EncappedKeyAndCiphertext
Auto Trait Implementations§
impl Freeze for EncappedKeyAndCiphertext
impl RefUnwindSafe for EncappedKeyAndCiphertext
impl Send for EncappedKeyAndCiphertext
impl Sync for EncappedKeyAndCiphertext
impl Unpin for EncappedKeyAndCiphertext
impl UnsafeUnpin for EncappedKeyAndCiphertext
impl UnwindSafe for EncappedKeyAndCiphertext
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