# SecurePasswordGenerator
`SecurePasswordGenerator` is a tool for generating random secure passwords. It provides both command line utility (CLI) and underlying python module.
## Table of Contents
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Usage](#usage)
- [Command Line Utility](#command-line-utility)
- [License](#license)
## Prerequisites
You'll need to have Python installed in order to run `SecurePasswordGenerator`. Start by downloading and installing [Python](https://www.python.org/downloads/).
> *Note: Python 3 is recommended, however `SecurePasswordGenerator` has been successfully tested with Python 2.6+*
## Installation
```
python -m pip install securepasswordgenerator
```
## Usage
`SecurePasswordGenerator` provides the following methods:
```py
securepasswordgenerator.generate(length = 10, use_lower_case = True, use_upper_case = True, use_numbers = True, use_special = False, use_hex = False)
securepasswordgenerator.decent()
securepasswordgenerator.strong()
securepasswordgenerator.fort_knox()
securepasswordgenerator.ci_key()
securepasswordgenerator.wep_64()
securepasswordgenerator.wep_128()
securepasswordgenerator.wep_152()
securepasswordgenerator.wep_256()
securepasswordgenerator.wpa_160()
securepasswordgenerator.wpa_504()
```
Sample code:
```py
>>> import securepasswordgenerator
>>> securepasswordgenerator.generate()
'ZgnoiVCQ'
>>> securepasswordgenerator.generate(15, use_lower_case=False, use_numbers=False, use_special=True)
'<)G,{IH~NDGZ+D@'
>>> securepasswordgenerator.decent()
'CONt8xy4Vw'
>>> securepasswordgenerator.strong()
'm?c$t?WP<y|}vVf'
>>> securepasswordgenerator.fort_knox()
"'>[&;6L8?->vXiKWh>Uoe<Uo-.x,Zb"
>>> securepasswordgenerator.ci_key()
'I9MMEnszZO4mKGJayBXe9kKsEGg7JXBs'
>>> securepasswordgenerator.wep_64()
'866EE'
>>> securepasswordgenerator.wep_128()
'9EBD3954549FC'
>>> securepasswordgenerator.wep_152()
'D5CB8A9668F2153D'
>>> securepasswordgenerator.wep_256()
'E775C1FA7D96CF94DFB19CB9ED534'
>>> securepasswordgenerator.wpa_160()
'1XkW\\eHu5,ox9I&K`I<R'
>>> securepasswordgenerator.wpa_504()
"AkW~Z9/)d2rf`JWPU}CcUq*`BTsq8%'i+,~BAp2nf@*t!W&~rlpxq(Grh6>$1rj"
```
### Command Line Utility
`SecurePasswordGenerator` includes a command line utility for generating passwords.
```
securepasswordgenerator --help
usage: securepasswordgenerator.py [-h] [-l] [-L] [-u] [-U] [-n] [-N] [-s] [-S] [-x] [-X] [-DP] [-SP] [-FP] [-ci] [-wpa160] [-wpa504]
[-wep64] [-wep128] [-wep152] [-wep256]
[length]
The Secure Password or Keygen Generator
positional arguments:
length Length of password (default is 8 characters)
options:
-h, --help show this help message and exit
-l, --lower-enable Use lowercase characters
-L, --lower-disable Don't use lowercase characters
-u, --upper-enable use upper case characters
-U, --upper-disable don't use upper case characters
-n, --number-enable use number characters
-N, --number-disable don't use number characters
-s, --special-enable use special characters
-S, --special-disable
don't use special characters
-x, --hex-enable use hex characters
-X, --hex-disable don't use hex characters
-DP, --decent Generate Memorable Passwords - Perfect for securing your computer or mobile device, or somewhere brute
force is detectable.
-SP, --strong Generate Strong Passwords - Robust enough to keep your web hosting account secure.
-FP, --fort_knox Generate Fort Knox Passwords - Secure enough for almost anything, like root or administrator passwords.
-ci, --ci_key Generate CodeIgniter Encryption Keys - Can be used for any other 256-bit key requirement.
-wpa160, --wpa_160 Generate 160-bit WPA Key
-wpa504, --wpa_504 Generate 504-bit WPA Key
-wep64, --wep_64 Generate 64-bit WEP Keys
-wep128, --wep_128 Generate 128-bit WEP Keys
-wep152, --wep_152 Generate 152-bit WEP Keys
-wep256, --wep_256 Generate 256-bit WEP Keys
```
> *Note: `-DP`, `--decent`, `-SP`, `--strong`, `-FP`, `--fort_knox`, `-ci`, `--ci_key`, `-wpa160`, `--wpa_160`, `-wpa504`, `--wpa_504`, `-wep64`, `--wep_64`, `-wep128`, `--wep_128`, `-wep152`, `--wep_152`, `-wep256`, `--wep_256` doesn't require any other arguments*
## License
This project is licensed under the MIT License
```
MIT License
Copyright (c) 2023-present Ali Fayaz (Quill) (quillfires)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```
Raw data
{
"_id": null,
"home_page": "https://github.com/quillfires/SecurePasswordGenerator",
"name": "securepasswordgenerator",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "password generator",
"author": "Ali Fayaz (Quill)",
"author_email": "fayaz.quill@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/15/ed/8cd557f6366f24922ca18307b8c5169d80223d5705f438dcd86d0b472955/securepasswordgenerator-1.0.1.tar.gz",
"platform": null,
"description": "# SecurePasswordGenerator\n`SecurePasswordGenerator` is a tool for generating random secure passwords. It provides both command line utility (CLI) and underlying python module.\n\n## Table of Contents\n- [Prerequisites](#prerequisites)\n- [Installation](#installation)\n- [Usage](#usage)\n - [Command Line Utility](#command-line-utility)\n- [License](#license)\n\n## Prerequisites\nYou'll need to have Python installed in order to run `SecurePasswordGenerator`. Start by downloading and installing [Python](https://www.python.org/downloads/).\n> *Note: Python 3 is recommended, however `SecurePasswordGenerator` has been successfully tested with Python 2.6+*\n\n\n## Installation\n```\npython -m pip install securepasswordgenerator\n```\n\n## Usage\n`SecurePasswordGenerator` provides the following methods:\n```py\nsecurepasswordgenerator.generate(length = 10, use_lower_case = True, use_upper_case = True, use_numbers = True, use_special = False, use_hex = False)\nsecurepasswordgenerator.decent() \nsecurepasswordgenerator.strong() \nsecurepasswordgenerator.fort_knox() \nsecurepasswordgenerator.ci_key() \nsecurepasswordgenerator.wep_64() \nsecurepasswordgenerator.wep_128() \nsecurepasswordgenerator.wep_152() \nsecurepasswordgenerator.wep_256() \nsecurepasswordgenerator.wpa_160() \nsecurepasswordgenerator.wpa_504()\n```\n\nSample code:\n```py\n>>> import securepasswordgenerator\n>>> securepasswordgenerator.generate()\n'ZgnoiVCQ'\n>>> securepasswordgenerator.generate(15, use_lower_case=False, use_numbers=False, use_special=True)\n'<)G,{IH~NDGZ+D@'\n>>> securepasswordgenerator.decent() \n'CONt8xy4Vw'\n>>> securepasswordgenerator.strong() \n'm?c$t?WP<y|}vVf'\n>>> securepasswordgenerator.fort_knox() \n\"'>[&;6L8?->vXiKWh>Uoe<Uo-.x,Zb\"\n>>> securepasswordgenerator.ci_key() \n'I9MMEnszZO4mKGJayBXe9kKsEGg7JXBs'\n>>> securepasswordgenerator.wep_64() \n'866EE'\n>>> securepasswordgenerator.wep_128() \n'9EBD3954549FC'\n>>> securepasswordgenerator.wep_152() \n'D5CB8A9668F2153D'\n>>> securepasswordgenerator.wep_256() \n'E775C1FA7D96CF94DFB19CB9ED534'\n>>> securepasswordgenerator.wpa_160() \n'1XkW\\\\eHu5,ox9I&K`I<R'\n>>> securepasswordgenerator.wpa_504()\n\"AkW~Z9/)d2rf`JWPU}CcUq*`BTsq8%'i+,~BAp2nf@*t!W&~rlpxq(Grh6>$1rj\"\n```\n\n### Command Line Utility\n`SecurePasswordGenerator` includes a command line utility for generating passwords.\n```\nsecurepasswordgenerator --help\nusage: securepasswordgenerator.py [-h] [-l] [-L] [-u] [-U] [-n] [-N] [-s] [-S] [-x] [-X] [-DP] [-SP] [-FP] [-ci] [-wpa160] [-wpa504]\n [-wep64] [-wep128] [-wep152] [-wep256]\n [length]\n\nThe Secure Password or Keygen Generator\n\npositional arguments:\n length Length of password (default is 8 characters)\n\noptions:\n -h, --help show this help message and exit\n -l, --lower-enable Use lowercase characters\n -L, --lower-disable Don't use lowercase characters\n -u, --upper-enable use upper case characters\n -U, --upper-disable don't use upper case characters\n -n, --number-enable use number characters\n -N, --number-disable don't use number characters\n -s, --special-enable use special characters\n -S, --special-disable\n don't use special characters\n -x, --hex-enable use hex characters\n -X, --hex-disable don't use hex characters\n -DP, --decent Generate Memorable Passwords - Perfect for securing your computer or mobile device, or somewhere brute\n force is detectable.\n -SP, --strong Generate Strong Passwords - Robust enough to keep your web hosting account secure.\n -FP, --fort_knox Generate Fort Knox Passwords - Secure enough for almost anything, like root or administrator passwords.\n -ci, --ci_key Generate CodeIgniter Encryption Keys - Can be used for any other 256-bit key requirement.\n -wpa160, --wpa_160 Generate 160-bit WPA Key\n -wpa504, --wpa_504 Generate 504-bit WPA Key\n -wep64, --wep_64 Generate 64-bit WEP Keys\n -wep128, --wep_128 Generate 128-bit WEP Keys\n -wep152, --wep_152 Generate 152-bit WEP Keys\n -wep256, --wep_256 Generate 256-bit WEP Keys\n```\n> *Note: `-DP`, `--decent`, `-SP`, `--strong`, `-FP`, `--fort_knox`, `-ci`, `--ci_key`, `-wpa160`, `--wpa_160`, `-wpa504`, `--wpa_504`, `-wep64`, `--wep_64`, `-wep128`, `--wep_128`, `-wep152`, `--wep_152`, `-wep256`, `--wep_256` doesn't require any other arguments*\n\n\n## License\n\nThis project is licensed under the MIT License\n```\nMIT License\n\nCopyright (c) 2023-present Ali Fayaz (Quill) (quillfires)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "SecurePasswordGenerator is a tool for generating random passwords. It provides both command line utility and underlying python module.",
"version": "1.0.1",
"split_keywords": [
"password",
"generator"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d7487492e7c3fc48bc74ab1a94486ee1cabfe3e02591297aabd2d6b001d7afc8",
"md5": "65d70348a0f019b2c0f8247e5df8e215",
"sha256": "3b8063b7d80f88e9b7529944bc34561fd1a39e177fade2f0be16d3f3baee5868"
},
"downloads": -1,
"filename": "securepasswordgenerator-1.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "65d70348a0f019b2c0f8247e5df8e215",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 7643,
"upload_time": "2023-04-26T19:12:58",
"upload_time_iso_8601": "2023-04-26T19:12:58.184131Z",
"url": "https://files.pythonhosted.org/packages/d7/48/7492e7c3fc48bc74ab1a94486ee1cabfe3e02591297aabd2d6b001d7afc8/securepasswordgenerator-1.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "15ed8cd557f6366f24922ca18307b8c5169d80223d5705f438dcd86d0b472955",
"md5": "c40ac77de6c8649d32be9d4b64341136",
"sha256": "82856d4ff12dadb603d158b98f402a15159f58e34773d68d828e5f52ebbd68ae"
},
"downloads": -1,
"filename": "securepasswordgenerator-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "c40ac77de6c8649d32be9d4b64341136",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5480,
"upload_time": "2023-04-26T19:13:00",
"upload_time_iso_8601": "2023-04-26T19:13:00.743472Z",
"url": "https://files.pythonhosted.org/packages/15/ed/8cd557f6366f24922ca18307b8c5169d80223d5705f438dcd86d0b472955/securepasswordgenerator-1.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-26 19:13:00",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "quillfires",
"github_project": "SecurePasswordGenerator",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "securepasswordgenerator"
}