VerifierTrait

Fully qualified path: snforge_std::signature::VerifierTrait

pub trait VerifierTrait<T, H, U>

Trait functions

verify

self - KeyPair used for verifying message_hash - input to verify bounded by the curve type (u256 for 256bit curves, felt252 for StarkCurve) signature - the signature components (usually r,s tuple) Returns a boolean representing the validity of the signature

Fully qualified path: snforge_std::signature::VerifierTrait::verify

fn verify(self: T, message_hash: H, signature: U) -> bool