Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kobebigs/givemepwd
A random password, keys generator
https://github.com/kobebigs/givemepwd
key-generator password-generator perl
Last synced: 27 days ago
JSON representation
A random password, keys generator
- Host: GitHub
- URL: https://github.com/kobebigs/givemepwd
- Owner: kobeBigs
- License: mit
- Created: 2024-11-14T10:39:37.000Z (about 1 month ago)
- Default Branch: master
- Last Pushed: 2024-11-14T10:57:10.000Z (about 1 month ago)
- Last Synced: 2024-11-29T07:08:16.533Z (27 days ago)
- Topics: key-generator, password-generator, perl
- Language: Perl
- Homepage:
- Size: 1000 Bytes
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# givemepwd - a random password generator
A simple Perl program that generates a random password of a specified length using alphanumeric characters (`0-9`, `a-z`, `A-Z`). If no length is specified, it defaults to 16 characters.
## Requirements
- Perl 5 or higher.
No additional Perl modules are required.
## Usage
Run the script from the command line:
```bash
perl givemepwd.pl [password length]
```### Examples
- To generate a password of 16 characters (default):
```bash
perl givemepwd.pl
```- To generate a password of 36 characters:
```bash
perl givemepwd.pl 36
```## Help
To display help information, use the `--help` or `-h` flag:
```bash
perl givemepwd.pl --help
```## Notes
- If the password length is not provided or is invalid (non-positive integer), the script defaults to a length of 16.
- The password will include a mix of uppercase letters, lowercase letters, and numbers.
- The script prints the generated password to the console in the format:
```css
Here you go >> [generated_password]
```### Example Output
For a password length of 12, you might see:
```css
Here you go >> a8dZ5nX2bQp7
```## License
givemepwd is released under the MIT Licence. See the bundled LICENSE file for details.