Function verify

Source
pub fn verify(
    payload: &[u8],
    signature: &Signature,
    public_key: &[u8],
) -> Result<(), Error>
Expand description

Verify the payload and signature with the public_key.

Return () or Error::InvalidSignature.