pub fn verify<Msg, HashToField, Point, Scalar>(
generator: &Point,
message: &Msg,
public_key: &Point,
_: &Signature<Point, Scalar>,
hash_to_field: HashToField,
) -> boolwhere
Msg: ?Sized,
HashToField: FnOnce(&Point, &Point, &Msg) -> Scalar,
Point: CofactorGroup + Group<Scalar = Scalar>,
Scalar: PrimeField,Expand description
Verify a signature.
The group arithmetic uses generator to produce
public keys.