render_password_to

Function render_password_to 

Source
pub fn render_password_to(
    entropy: &[u8],
    charset: CharacterSet,
    output: &mut [u8],
)
Expand description

Generates a password of the given length using the provided entropy and character sets, and writes it to output.

ยงPanics

Panics if output is smaller than MIN_PASSWORD_LEN or greater than MAX_PASSWORD_LEN, or if entropy is empty, or if charset is empty.