Struct rubble::ecdh::RingProvider[][src]

pub struct RingProvider {
    rng: SystemRandom,
}
Expand description

An ECDH provider that uses ring under the hood.

Fields

rng: SystemRandom

Implementations

Creates a new RingProvider that uses the system’s RNG for key generation.

Trait Implementations

Provider-defined secret key type.

Generates a P-256 key pair using cryptographically strong randomness. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.