pub trait HandshakeTokenKey: Send + Sync {
    // Required method
    fn aead_from_hkdf(&self, random_bytes: &[u8]) -> Box<dyn AeadKey, Global>;
}
Expand description

A pseudo random key for HKDF

Required Methods§

source

fn aead_from_hkdf(&self, random_bytes: &[u8]) -> Box<dyn AeadKey, Global>

Derive AEAD using hkdf

Implementations on Foreign Types§

source§

impl HandshakeTokenKey for Prk

source§

fn aead_from_hkdf(&self, random_bytes: &[u8]) -> Box<dyn AeadKey, Global>

Implementors§