Function verify

Source
pub fn verify<Msg: AsRef<[u8]>>(
    sig: &Signature,
    key: &PublicKey,
    msg: Msg,
) -> bool