KeyPairTrait
Fully qualified path: snforge_std::signature::KeyPairTrait
pub trait KeyPairTrait<SK, PK>
Trait functions
generate
Generates the private and public keys using the built-in random generator
Fully qualified path: snforge_std::signature::KeyPairTrait::generate
fn generate() -> KeyPair<SK, PK>
from_secret_key
Derives the KeyPair (secret_key
+ public_key
) using secret_key
Fully qualified path: snforge_std::signature::KeyPairTrait::from_secret_key
fn from_secret_key(secret_key: SK) -> KeyPair<SK, PK>