pub trait BoundKey<N: NonceSequence>: Debug {
    fn new(key: UnboundKey, nonce_sequence: N) -> Self;
    fn algorithm(&self) -> &'static Algorithm;
}
Expand description

An AEAD key bound to a nonce sequence.

Required Methods

Constructs a new key from the given UnboundKey and NonceSequence.

The key’s AEAD algorithm.

Implementors