hopr_crypto_packet::por

Function validate_por_hint

Source
pub fn validate_por_hint(
    ethereum_challenge: &EthereumChallenge,
    own_share: &HalfKeyChallenge,
    ack: &HalfKey,
) -> bool
Expand description

Checks if the given acknowledgement solves the given challenge.