Struct diem_sdk::crypto::x25519::x25519_dalek::SharedSecret [−][src]
pub struct SharedSecret(_);
Expand description
The result of a Diffie-Hellman key exchange.
Each party computes this using their EphemeralSecret
or StaticSecret
and their
counterparty’s PublicKey
.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SharedSecret
impl Send for SharedSecret
impl Sync for SharedSecret
impl Unpin for SharedSecret
impl UnwindSafe for SharedSecret
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more