Struct concrete_core::crypto::secret::generators::SecretRandomGenerator[][src]

pub struct SecretRandomGenerator(_);
Expand description

A random number generator which can be used to generate secret keys.

Implementations

Creates a new generator, optionally seeding it with the given value.

Returns the number of remaining bytes, if the generator is bounded.

Returns whether the generator is bounded.

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.