hopr_crypto_sphinx::derivation

Function derive_mac_key

Source
pub fn derive_mac_key(secret: &SecretKey) -> SecretKey
Expand description

Derives a key for MAC calculation by expanding the given secret.