Function casper_types::crypto::verify
source ·
[−]pub fn verify<T: AsRef<[u8]>>(
message: T,
signature: &Signature,
public_key: &PublicKey
) -> Result<(), Error>
Expand description
Verifies the signature of the given message against the given public key.