Enum emerald_rs::keystore::Cipher [] [src]

pub enum Cipher {
    Aes128Ctr,
}

Cipher type

Variants

AES-CTR (specified in (RFC 3686)[https://tools.ietf.org/html/rfc3686])

Methods

impl Cipher
[src]

Important traits for Vec<u8>
[src]

Encrypt given text with provided key and initial vector

Trait Implementations

impl Clone for Cipher
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Cipher
[src]

impl Debug for Cipher
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Cipher
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for Cipher
[src]

impl Default for Cipher
[src]

[src]

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

impl FromStr for Cipher
[src]

The associated error which can be returned from parsing.

[src]

Parses a string s to return a value of this type. Read more

impl Display for Cipher
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Cipher

impl Sync for Cipher