pub fn random_password() -> PlainText {
    rand::thread_rng()
        .sample_iter(&Alphanumeric)
        .take(DEFAULT_PASSWORD_LEN)
        .collect::<String>()
        .into_bytes()
        .into()
}
/// Generates a random alphanumeric password of length `DEFAULT_PASSWORD_LEN`.
Generates a random alphanumeric password of length `DEFAULT_PASSWORD_LEN`.
Generates a random alphanumeric password of length ` DEFAULT_PASSWORD_LEN ` .
pub fn random_password() -> PlainText {
    rand::thread_rng()
        .sample_iter(&Alphanumeric)
        .take(DEFAULT_PASSWORD_LEN)
        .collect::<String>()
        .into_bytes()
        .into()
}
pub fn random_password ( ) -> PlainText { rand :: thread_rng ( ) . sample_iter ( & Alphanumeric ) . take ( DEFAULT_PASSWORD_LEN ) . collect :: < String > ( ) . into_bytes ( ) . into ( ) }
Generates a random alphanumeric password of length `DEFAULT_PASSWORD_LEN`.
Generates a random alphanumeric password of length ` DEFAULT_PASSWORD_LEN ` .