[−][src]Function signatory::sign_sha512
pub fn sign_sha512<S>(
signer: &dyn Sha512Signer<S>,
msg: &[u8]
) -> Result<S, Error> where
S: Signature,
Compute SHA-512 of the given message and then sign the resulting digest.
This can be used to avoid importing the Signer
and Signature
traits