{"id":18866015,"url":"https://github.com/adia-dev/pwd-gen","last_synced_at":"2026-02-12T16:30:13.248Z","repository":{"id":249420569,"uuid":"798003870","full_name":"adia-dev/pwd-gen","owner":"adia-dev","description":"Password generator utils, sha, sha256, base64 and more...","archived":false,"fork":false,"pushed_at":"2024-07-20T16:34:28.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-18T06:47:08.728Z","etag":null,"topics":["bash","password","password-generator"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adia-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-08T22:44:39.000Z","updated_at":"2024-07-20T16:34:31.000Z","dependencies_parsed_at":"2024-07-20T17:48:12.045Z","dependency_job_id":"654a25f1-3d9e-4b48-9776-fce768d5e2a2","html_url":"https://github.com/adia-dev/pwd-gen","commit_stats":null,"previous_names":["adia-dev/pwd-gen"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adia-dev%2Fpwd-gen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adia-dev%2Fpwd-gen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adia-dev%2Fpwd-gen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adia-dev%2Fpwd-gen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adia-dev","download_url":"https://codeload.github.com/adia-dev/pwd-gen/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239810091,"owners_count":19700735,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","password","password-generator"],"created_at":"2024-11-08T05:05:19.194Z","updated_at":"2026-02-12T16:30:13.175Z","avatar_url":"https://github.com/adia-dev.png","language":"Shell","readme":"### Password Generator (pwd-gen)\n\nThe `pwd-gen` script is a versatile command-line tool designed to generate secure passwords using various cryptographic methods. It supports SHA-256, SHA-512, Base64 encoding, and MD5 hashing, providing flexibility for users to choose the level of security and password complexity that best fits their needs.\n\n### Features\n\n- **Multiple Hashing Algorithms**: Generate passwords using SHA-256, SHA-512, MD5, or Base64 encoding.\n- **Interactive Mode**: Choose the password generation method via a user-friendly interactive menu.\n- **Output Control**: Direct password output to a console or save directly to a file.\n- **Verbose and Quiet Modes**: Get detailed execution logs or suppress all output, suitable for scripting and automation.\n\n\u003cimg width=\"842\" alt=\"Screenshot 2024-05-09 at 00 49 40\" src=\"https://github.com/adia-dev/pwd-gen/assets/63371699/ca065d2b-e0de-456e-b995-70cacbfffc98\"\u003e\n\n\n### Installation\n\n```bash\n# Clone the repository\ngit clone https://github.com/adia-dev/pwd-gen.git\n\n# Navigate to the script directory\ncd pwd-gen\n\n# Make the script executable\nchmod +x pwd-gen.sh\n\n# To install the script globally, move it to a directory in your PATH\nln -s \"$(pwd)/pwd-gen.sh\" /usr/local/bin/pwd-gen\n```\n\n### Usage\n\nBasic command structure:\n\n```bash\npwd-gen.sh [method] [options]\n```\n\n#### Methods\n\n- `sha`: Generate a SHA-256 hashed password.\n- `sha512`: Generate a SHA-512 hashed password.\n- `base64`: Generate a Base64 encoded password.\n- `md5`: Generate an MD5 hashed password (less secure).\n\n#### Options\n\n- `-it, --interactive`: Launch the script in interactive mode to select the password generation method.\n- `--output-file [path]`: Save the generated password to a specified file.\n- `--verbose`: Enable verbose output.\n- `--quiet`: Suppress all output.\n\n#### Examples\n\nGenerate a SHA-256 hashed password:\n\n```bash\npwd-gen.sh sha\n```\n\nGenerate a password in interactive mode and save to a file:\n\n```bash\npwd-gen.sh --interactive --output-file /path/to/password.txt\n```\n\nGenerate a Base64 encoded password and suppress all outputs:\n\n```bash\npwd-gen.sh base64 --quiet\n```\n\n### Tested Environment\n\nThis script has been thoroughly tested on macOS, ensuring compatibility and reliability. For users on other Unix-like systems, minor adjustments may be necessary depending on available system utilities and Bash version.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadia-dev%2Fpwd-gen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadia-dev%2Fpwd-gen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadia-dev%2Fpwd-gen/lists"}