hopr_crypto_sphinx::derivation

Function derive_ack_key_share

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

Used in Proof of Relay to derive the half-key of for the acknowledgement (S1) The function samples a secp256k1 field element using the given secret via sample_field_element.