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]

[src]

Formats the value using the given formatter.

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 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 Default for Cipher
[src]

[src]

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