pub fn verify_bytes(
public_key: &PublicKey,
msg: &[u8],
signature: &Signature,
) -> Result<(), Error>Expand description
Verifies signature over msg with public_key: plain Ed25519
(RFC 8032) under the ZIP-215 validation rules.
Fails for a bad signature, for a key or signature in a scheme other than Ed25519, and for an Ed25519 key whose 32 bytes are not a valid curve point; none of these panic.