Trait cryptraits::key::SecretKey

source ·
pub trait SecretKey: Clone + Zeroize + Debug {
    type PK: PublicKey;

    fn to_public(&self) -> Self::PK;
}
Expand description

Trait represents a secret key.

Required Associated Types§

Required Methods§

Derives the PublicKey corresponding to this SecretKey.

Implementors§