pub struct KemEncapsulateResult {
pub ciphertext: Vec<u8>,
pub shared_secret: Vec<u8>,
}Expand description
Result of encapsulation: the ciphertext to send and the shared secret.
Fields§
§ciphertext: Vec<u8>Ciphertext bytes to send to the recipient.
Shared secret derived on the sender side.
Auto Trait Implementations§
impl Freeze for KemEncapsulateResult
impl RefUnwindSafe for KemEncapsulateResult
impl Send for KemEncapsulateResult
impl Sync for KemEncapsulateResult
impl Unpin for KemEncapsulateResult
impl UnsafeUnpin for KemEncapsulateResult
impl UnwindSafe for KemEncapsulateResult
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