Trait identity_iota::crypto::Sign
source · [−]pub trait Sign {
type Private: ?Sized;
type Output;
fn sign(message: &[u8], key: &Self::Private) -> Result<Self::Output, Error>;
}
Expand description
A common interface for digital signature creation.