pub struct X<DH, H, RNG> where
    H: Hash
{ /* private fields */ }
Expand description

One-Way Handshake Noise X

Implementations

establish a one-way handshake with an already known PublicIdentity and send the given payload too.

This is not the strongest way to establish a channel with another peer. However it is strong enough encryption scheme as long as the peer’s PrivateIdentity is not compromised. This is why we are not allowing a TransportState to be built with this function.

This is an asymmetric encryption scheme. Once the message has been sent, we won’t be able to decode it back.

receive a one-way handshake with an unknown

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.