trait KeyPairExt {
// Required methods
fn sign(&self, msg: &[u8]) -> Vec<u8> ⓘ;
fn public(&self) -> PublicKey;
fn secret(&self) -> SecretKey;
}Expand description
An extension trait, adding essential methods to all KeyPair types.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".