Trait KeyPair

Source
pub trait KeyPair {
    type SecretKey;
    type PublicKey;
}
Expand description

An elliptic curve key pair.

Creates a formal relationship between public and secret types.

Required Associated Types§

Source

type SecretKey

An ECDH secret key.

Source

type PublicKey

An ECDH public key.

Implementors§