hopr_crypto_sphinx::derivation

Function derive_packet_tag

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

Derives the packet tag used during packet construction by expanding the given secret.