Struct safe_core::crypto::shared_secretbox::Key [] [src]

pub struct Key(_);

Shared symmetric encryption key.

Methods

impl Key
[src]

[src]

Create new safe-to-share key from the given regular key.

[src]

Create new key from the given raw key data.

[src]

Create new key from the data in the given slice.

Methods from Deref<Target = Key>

Trait Implementations

impl Clone for Key
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for Key
[src]

impl PartialEq for Key
[src]

[src]

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

[src]

This method tests for !=.

impl Deref for Key
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

impl<'de> Deserialize<'de> for Key
[src]

[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for Key
[src]

[src]

Serialize this value into the given Serde serializer. Read more

impl Debug for Key
[src]

[src]

Formats the value using the given formatter.