Skip to main content

verify_proof

Function verify_proof 

Source
pub fn verify_proof(
    public_key: &str,
    nonce: &[u8],
    host_id: &str,
    protocol_version: &str,
    proof: &str,
) -> bool
Expand description

Whether proof (hex) is public_key’s signature over the hello message for this nonce, host id and protocol version.