Trait snapper_box::crypto::key::Key[][src]

pub trait Key {
    fn encryption_key(&self) -> &Key;
fn hmac_key(&self) -> &[u8; 32]; }
Expand description

Allows access to the subkeys of a key-like structure

Required methods

Provides the encryption key as a chacha Key

Provides the hmac key

Implementors