Struct safe_core::crypto::shared_box::SecretKey [] [src]

pub struct SecretKey(_);

Shared secret encryption key.

Methods

impl SecretKey
[src]

[src]

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

[src]

Create new key from the given raw key data.

Methods from Deref<Target = SecretKey>

Trait Implementations

impl Clone for SecretKey
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for SecretKey
[src]

impl PartialEq for SecretKey
[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 SecretKey
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

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

[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for SecretKey
[src]

[src]

Serialize this value into the given Serde serializer. Read more

impl Debug for SecretKey
[src]

[src]

Formats the value using the given formatter.