Struct onionsalt::OnionBox [] [src]

pub struct OnionBox { /* fields omitted */ }

Methods

impl OnionBox
[src]

The encrypted packet, to be sent to the first receiver.

The response when we get it will begin with these bytes.

This function accepts a packet that has been sent to us, and decrypts it without authentication if it is the response to our original message.

Trait Implementations

impl Hash for OnionBox
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Clone for OnionBox
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for OnionBox
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for OnionBox
[src]

impl Debug for OnionBox
[src]

Formats the value using the given formatter.