Trait chain_crypto::SigningAlgorithm
source · pub trait SigningAlgorithm: AsymmetricKeywhere
Self::PubAlg: VerificationAlgorithm,{
// Required method
fn sign(
key: &Self::Secret,
msg: &[u8]
) -> <Self::PubAlg as VerificationAlgorithm>::Signature;
}