#random-password #password-generator #generate #special #numeric #define #characters

random_password_generator

Rust library to generate random passwords, you can define whether the password will have alphabetical, numeric or special characters

1 unstable release

0.1.0 Jun 19, 2024

#372 in Authentication

Download history 189/week @ 2024-06-17

189 downloads per month

MIT license

6KB
124 lines

random_password_generator

Rust library to generate random passwords, you can define whether the password will have alphabetical, numeric or special characters.

Installation

To use random_password_generator in your Rust project, add it as a dependency in your Cargo.toml:

[dependencies]
random_password_generator = "0.1.0"

```rust
use random_password_generator::generate_password;

fn main() {
    let random_letter = generate_password(true, true,true, 5);
    println!("new password generated: {}", random_letter)
}

Dependencies

~310KB