Struct ring::agreement::EphemeralPrivateKey [−][src]
pub struct EphemeralPrivateKey { /* fields omitted */ }
Expand description
An ephemeral private key for use (only) with agree_ephemeral
. The
signature of agree_ephemeral
ensures that an EphemeralPrivateKey
can be
used for at most one key agreement.
Implementations
Generate a new ephemeral private key for the given algorithm.
Computes the public key from the private key.