hopr_crypto_sphinx::derivation

Function derive_ping_pong

Source
pub fn derive_ping_pong(challenge: Option<&[u8]>) -> Box<[u8]>
Expand description

Derives a ping challenge (if no challenge is given) or a pong response to a ping challenge.