pub struct SharedSecret(/* private fields */);Expand description
An ECDH shared secret: the X coordinate of the shared point.
Feed it to a KDF; do not use it as a key directly. Zeroed on drop.
Implementations§
Trait Implementations§
Auto Trait Implementations§
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