https://github.com/ishanoshada/passwd-generator-go
The Password Generator is a simple command-line tool built using Go (Golang) that generates secure random passwords
https://github.com/ishanoshada/passwd-generator-go
Last synced: 3 months ago
JSON representation
The Password Generator is a simple command-line tool built using Go (Golang) that generates secure random passwords
- Host: GitHub
- URL: https://github.com/ishanoshada/passwd-generator-go
- Owner: Ishanoshada
- Created: 2023-07-28T10:55:17.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-29T04:12:33.000Z (about 2 years ago)
- Last Synced: 2025-04-28T15:52:18.345Z (5 months ago)
- Language: Go
- Size: 9.77 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Password Generator

**Password Generator** is a simple command-line tool written in Go that generates random passwords containing letters (both uppercase and lowercase), numbers, and special characters. It's a handy utility to create strong and secure passwords for various purposes, such as online accounts, applications, or anything that requires a secure passphrase.
## Folder Structure
The folder structure for the Password Generator project is organized as follows:
```
passwd-generator-go/
|-- main.go
|-- go.mod
|-- README.md
```## How to Use
1. Clone the repository to your local machine:
```bash
git clone https://github.com/ishanoshada/passwd-generator-go.git
```2. Navigate to the project directory:
```bash
cd passwd-generator-go
```3. Build and run the `main.go` file using Go:
```bash
go run main.go
```4. You will be prompted to enter the desired length for the password.
5. The generated password will be displayed on the console.
## Examples
Here are some examples of using the Password Generator:
1. Generating a 12-character password:
```bash
Enter password length: 12
Generated Password: Xq1@zv9Ld^W2
```2. Generating a 20-character password:
```bash
Enter password length: 20
Generated Password: p7N$RfG@U0Xo5Q4ma3i9
```3. Generating a 8-character password:
```bash
Enter password length: 8
Generated Password: cF7L6@Kx
```## Customize
You can easily customize the character set used for generating passwords by modifying the `charset` constant in the `main.go` file. Additionally, you can add or remove special characters or adjust the distribution of characters to suit your specific requirements.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## Author
This Password Generator tool was created by [ishan oshada](https://github.com/ishanoshada). Feel free to contribute to the project by submitting issues or pull requests.
## Acknowledgments
Special thanks to the Go programming language community for providing an excellent programming language that makes it easy to develop efficient tools like this password generator.
## Support
If you find this tool helpful, consider giving it a ⭐️ on GitHub and sharing it with others! If you encounter any issues or have suggestions for improvements, please [open an issue](https://github.com/ishanoshada/passwd-generator-go/issues).