Struct emerald_rs::keystore::CoreCrypto [] [src]

pub struct CoreCrypto {
    pub cipher: Cipher,
    pub cipher_text: Vec<u8>,
    pub cipher_params: CipherParams,
    pub kdf: Kdf,
    pub kdfparams_dklen: usize,
    pub kdfparams_salt: Salt,
    pub mac: Mac,
}

Fields

Cipher

Cipher text

Params for Cipher

Key derivation funciton

Kdf length for parameters

Cryptographic salt for Kdf

HMAC authentication code

Methods

impl CoreCrypto
[src]

[src]

Trait Implementations

impl Clone for CoreCrypto
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for CoreCrypto
[src]

[src]

Formats the value using the given formatter. Read more

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

impl Default for CoreCrypto
[src]

[src]

Returns the "default value" for a type. Read more

impl Into<KeyFile> for CoreCrypto
[src]

[src]

Performs the conversion.

impl Decodable for CoreCrypto
[src]

[src]

Deserialize a value using a Decoder.

impl Encodable for CoreCrypto
[src]

[src]

Serialize a value using an Encoder.

Auto Trait Implementations

impl Send for CoreCrypto

impl Sync for CoreCrypto