Struct oxide_auth::primitives::generator::RandomGenerator [−][src]
pub struct RandomGenerator { /* fields omitted */ }Expand description
Generates tokens from random bytes.
Each byte is chosen randomly from the basic rand::thread_rng. This generator will always
succeed.
Implementations
Generates tokens with a specific byte length.