[][src]Function signatory::verify_sha512

pub fn verify_sha512<S>(
    verifier: &dyn Sha512Verifier<S>,
    msg: &[u8],
    signature: &S
) -> Result<(), Error> where
    S: Signature

Verify SHA-512 of the given message and then sign the resulting digest. This can be used to avoid importing the Verifier and Signature traits