Struct ring::aead::Algorithm [−][src]
pub struct Algorithm { /* fields omitted */ }
Methods
impl Algorithm
[src]
impl Algorithm
pub fn key_len(&self) -> usize
[src]
pub fn key_len(&self) -> usize
The length of the key.
C analog: EVP_AEAD_key_length
pub fn tag_len(&self) -> usize
[src]
pub 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
pub fn nonce_len(&self) -> usize
[src]
pub fn nonce_len(&self) -> usize