Enum zbox::Cipher[][src]

pub enum Cipher {
    Xchacha,
    Aes,
}

Crypto cipher primitivies.

Variants

XChaCha20-Poly1305

AES256-GCM, hardware only

Trait Implementations

impl Debug for Cipher
[src]

Formats the value using the given formatter. Read more

impl Clone for Cipher
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Cipher
[src]

impl PartialEq for Cipher
[src]

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

This method tests for !=.

impl Into<u8> for Cipher
[src]

Performs the conversion.

impl Into<i32> for Cipher
[src]

Performs the conversion.

impl From<i32> for Cipher
[src]

Performs the conversion.

impl Default for Cipher
[src]

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

Auto Trait Implementations

impl Send for Cipher

impl Sync for Cipher