Struct xwing_kem::XwingSecretKey
source · pub struct XwingSecretKey(/* private fields */);
Implementations§
source§impl XwingSecretKey
impl XwingSecretKey
pub fn decapsulate(&self, ct: XwingCiphertext) -> XwingSharedSecret
Trait Implementations§
source§impl PartialEq for XwingSecretKey
impl PartialEq for XwingSecretKey
source§fn eq(&self, other: &XwingSecretKey) -> bool
fn eq(&self, other: &XwingSecretKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for XwingSecretKey
impl StructuralPartialEq for XwingSecretKey
Auto Trait Implementations§
impl RefUnwindSafe for XwingSecretKey
impl Send for XwingSecretKey
impl Sync for XwingSecretKey
impl Unpin for XwingSecretKey
impl UnwindSafe for XwingSecretKey
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