hopr_crypto_packet::por

Function validate_por_response

Source
pub fn validate_por_response(
    ethereum_challenge: &EthereumChallenge,
    response: &Response,
) -> bool
Expand description

Checks if the given response solves the given challenge.