hopr_crypto_packet::por

Function validate_por_half_keys

Source
pub fn validate_por_half_keys(
    ethereum_challenge: &EthereumChallenge,
    own_key: &HalfKey,
    ack: &HalfKey,
) -> bool
Expand description

Checks if the given acknowledgement solves the given challenge.