pub struct EncapResult {
pub wrapped_key: Vec<u8>,
pub shared_secret: Vec<u8>,
}Expand description
KEM encapsulation output.
Fields§
§wrapped_key: Vec<u8>Wrapped key (encoded shared secret).
Shared secret (plaintext).
Auto Trait Implementations§
impl Freeze for EncapResult
impl RefUnwindSafe for EncapResult
impl Send for EncapResult
impl Sync for EncapResult
impl Unpin for EncapResult
impl UnwindSafe for EncapResult
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