Struct emerald_core::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
Cipher
cipher_text: Vec<u8>
Cipher text
cipher_params: CipherParams
Params for Cipher
kdf: Kdf
Key derivation funciton
kdfparams_dklen: usize
Kdf length for parameters
kdfparams_salt: Salt
Cryptographic salt for Kdf
mac: Mac
HMAC authentication code
Methods
impl CoreCrypto[src]
Trait Implementations
impl Clone for CoreCrypto[src]
fn clone(&self) -> CoreCrypto
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Debug for CoreCrypto[src]
impl PartialEq for CoreCrypto[src]
fn eq(&self, __arg_0: &CoreCrypto) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &CoreCrypto) -> bool
This method tests for !=.
impl Eq for CoreCrypto[src]
impl Default for CoreCrypto[src]
impl Into<KeyFile> for CoreCrypto[src]
impl Decodable for CoreCrypto[src]
fn decode<D: Decoder>(d: &mut D) -> Result<CoreCrypto, D::Error>
Deserialize a value using a Decoder.