pub fn verify<H: Digest + Clone, K: PublicKey>(
pub_key: &K,
message: &[u8],
sig: &[u8],
) -> Result<(), Error>where
H::OutputSize: Clone,Expand description
Verify a signature.
Generally the message should be hashed before verifying the digest against the provided signature.