Struct lockchain_core::crypto::Key [] [src]

pub struct Key {
    pub data: Vec<u8>,
}

A wrapper to represent a key for encryption

Fields

Methods

impl Key
[src]

[src]

Create a new key from scratch

[src]

Use a password as a key

[src]

Used to get the raw data from this key, as a slice copy

Trait Implementations

impl Debug for Key
[src]

[src]

Formats the value using the given formatter. 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 Clone for Key
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Key

impl Sync for Key