Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tusharpamnani/random-password-generator
Random password generator of a specified length
https://github.com/tusharpamnani/random-password-generator
project rust
Last synced: 19 days ago
JSON representation
Random password generator of a specified length
- Host: GitHub
- URL: https://github.com/tusharpamnani/random-password-generator
- Owner: tusharpamnani
- License: mit
- Created: 2024-01-09T15:35:56.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-09T15:37:48.000Z (about 1 year ago)
- Last Synced: 2024-12-05T14:08:55.389Z (3 months ago)
- Topics: project, rust
- Language: Rust
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Random Password Generator
## Overview
This Rust program generates a random password of a specified length. It utilizes Rust's random number generation and character conversion capabilities to create a password consisting of printable ASCII characters.
## Features
- **Random Password Generation:** Generates a password with random characters.
- **Customizable Length:** The length of the generated password is customizable.## Getting Started
1. Clone the repository:
```bash
git clone https://github.com/tusharpamnani/Random-Password-Generator.git
cd Random-Password-Generator
```2. Build and run the application:
```bash
cargo run
```3. Adjust the password length:
- Open `main.rs`.
- Locate the `password_length` variable and change its value to set the desired password length.4. Run the application again:
```bash
cargo run
```5. The generated random password will be displayed in the console.
## Project Structure
- **src/main.rs:** Main entry point for the Rust program.
- **Cargo.toml:** Configuration file for Rust dependencies and settings.## Usage
- Customize the password length by modifying the `password_length` variable in `main.rs`.
- Run the application to generate a new random password each time.## Contributing
Contributions are welcome! Feel free to open issues or submit pull requests to enhance the functionality or add new features.
## License
This project is licensed under the [MIT License](LICENSE).