Function signatory::sign[][src]

pub fn sign<S>(signer: &Signer<S>, msg: &[u8]) -> Result<S, Error> where
    S: Signature

Sign the given message (byte slice) with the given Signer, returning a signature on success.