Struct ring::aead::Algorithm
[−]
[src]
pub struct Algorithm { /* fields omitted */ }Methods
impl Algorithm[src]
fn key_len(&self) -> usize
The length of the key.
C analog: EVP_AEAD_key_length
fn tag_len(&self) -> usize
The length of a tag.
See also MAX_TAG_LEN.
C analog: EVP_AEAD_max_overhead
Go analog:
crypto.cipher.AEAD.Overhead
fn nonce_len(&self) -> usize
Trait Implementations
impl PartialEq for Algorithm[src]
fn eq(&self, other: &Self) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.