Skip to main content

verify

Function verify 

Source
pub fn verify(public_key: &[u8], msg: &[u8], sig: &[u8]) -> bool
Expand description

Verify sig over msg against an encoded public_key.

Returns false on any decode failure or signature mismatch — never panics.