{"id":17925939,"url":"https://github.com/shoenig/bcrypt-tool","last_synced_at":"2026-03-08T05:31:46.888Z","repository":{"id":16660298,"uuid":"19415855","full_name":"shoenig/bcrypt-tool","owner":"shoenig","description":"A CLI tool for bcrypt - hash a password, determine if password matches a hash, compute cost of hash","archived":false,"fork":false,"pushed_at":"2025-10-02T00:38:43.000Z","size":33,"stargazers_count":65,"open_issues_count":1,"forks_count":9,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-10-02T02:40:58.025Z","etag":null,"topics":["bcrypt","cli","cost","hacktoberfest","hash","tool"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shoenig.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2014-05-04T01:08:03.000Z","updated_at":"2025-10-02T00:38:06.000Z","dependencies_parsed_at":"2024-05-01T23:41:23.911Z","dependency_job_id":"c5b7c60c-b8c4-464f-9547-dfa2958946d4","html_url":"https://github.com/shoenig/bcrypt-tool","commit_stats":{"total_commits":33,"total_committers":6,"mean_commits":5.5,"dds":0.6666666666666667,"last_synced_commit":"952d8e7e75b3ae4b882a277283fff37a22ce32ac"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/shoenig/bcrypt-tool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shoenig%2Fbcrypt-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shoenig%2Fbcrypt-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shoenig%2Fbcrypt-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shoenig%2Fbcrypt-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shoenig","download_url":"https://codeload.github.com/shoenig/bcrypt-tool/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shoenig%2Fbcrypt-tool/sbom","scorecard":{"id":820280,"data":{"date":"2025-08-11","repo":{"name":"github.com/shoenig/bcrypt-tool","commit":"3c8f474bb7233be554b84acdf43413eef6bc405d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:7: update your workflow using https://app.stepsecurity.io/secureworkflow/shoenig/bcrypt-tool/ci.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:8: update your workflow using https://app.stepsecurity.io/secureworkflow/shoenig/bcrypt-tool/ci.yml/main?enable=pin","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":1,"reason":"Found 2/20 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.1.7 not signed: https://api.github.com/repos/shoenig/bcrypt-tool/releases/215912166","Warn: release artifact v1.1.6 not signed: https://api.github.com/repos/shoenig/bcrypt-tool/releases/137494642","Warn: release artifact v1.1.5 not signed: https://api.github.com/repos/shoenig/bcrypt-tool/releases/123250407","Warn: release artifact v1.1.4 not signed: https://api.github.com/repos/shoenig/bcrypt-tool/releases/94957152","Warn: release artifact v1.1.3 not signed: https://api.github.com/repos/shoenig/bcrypt-tool/releases/86422899","Warn: release artifact v1.1.7 does not have provenance: https://api.github.com/repos/shoenig/bcrypt-tool/releases/215912166","Warn: release artifact v1.1.6 does not have provenance: https://api.github.com/repos/shoenig/bcrypt-tool/releases/137494642","Warn: release artifact v1.1.5 does not have provenance: https://api.github.com/repos/shoenig/bcrypt-tool/releases/123250407","Warn: release artifact v1.1.4 does not have provenance: https://api.github.com/repos/shoenig/bcrypt-tool/releases/94957152","Warn: release artifact v1.1.3 does not have provenance: https://api.github.com/repos/shoenig/bcrypt-tool/releases/86422899"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 21 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-23T15:20:11.600Z","repository_id":16660298,"created_at":"2025-08-23T15:20:11.600Z","updated_at":"2025-08-23T15:20:11.600Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30246724,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T00:58:18.660Z","status":"online","status_checked_at":"2026-03-08T02:00:06.215Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bcrypt","cli","cost","hacktoberfest","hash","tool"],"created_at":"2024-10-28T20:58:28.448Z","updated_at":"2026-03-08T05:31:46.881Z","avatar_url":"https://github.com/shoenig.png","language":"Go","readme":"bcrypt-tool\n===========\n\n`bcrypt-tool` is a dandy CLI tool for generating and matching bcrypt hashes\n\n[![GitHub](https://img.shields.io/github/license/shoenig/bcrypt-tool.svg)](LICENSE)\n\n# Project Overview\n\nModule `github.com/shoenig/bcrypt-tool` provides a simple command line tool.\n\n# Getting Started\n\n#### Install from Releases\n\nThe `bcrypt-tool` tool is available from the [Releases](https://github.com/shoenig/bcrypt-tool/releases) page.\n\nIt is pre-compiled for many operating systems and architectures including\n\n- Linux\n- Windows\n- MacOS\n- FreeBSD\n- OpenBSD\n- Plan9\n\n#### Build from source\nThe `bcrypt-tool` command can be compiled by running\n```bash\n$ go get github.com/shoenig/bcrypt-tool\n```\n\n### Examples\n\n#### Generate Hash from a Password\n```bash\n$ bcrypt-tool hash p4ssw0rd\n```\n    \n#### Generate Hash from a Password with Cost\n```bash\n$ bcrypt-tool hash p4ssw0rd 31\n```\n    \n#### Determine if Password matches Hash\n```bash\n$ bcrypt-tool match p4ssw0rd $2a$10$nWFwjoFo4zhyVosdYMb6XOxZqlVB9Bk0TzOvmuo16oIwMZJXkpanW\n```\n\nnote: depending on your shell, you may need to escape the $ characters\n\n#### Determine Cost of Hash\n```bash\n$ bcrypt-tool cost $2a$10$nWFwjoFo4zhyVosdYMb6XOxZqlVB9Bk0TzOvmuo16oIwMZJXkpanW\n```\n    \nnote: depending on your shell, you may need to escape the $ characters\n\n### Usage\n```bash\nbcrypt-tool [action] parameter ...\n```\n\n#### Actions\n\n- `hash  [password] \u003ccost\u003e` Use bcrypt to generate a hash given password and optional cost (4-31)\n\n- `match [password] [hash]` Use bcrypt to check if a password matches a hash\n\n- `cost  [hash]` Use bcrypt to determine the cost of a hash (4-31)\n\n# Contributing\n\nThe `github.com/shoenig/bcrypt-tool` module is always improving with new features\nand error corrections. For contributing bug fixes and new features please file an issue.\n\n# License\n\nThe `github.com/shoenig/bcrypt-tool` module is open source under the [MIT](LICENSE) license.\n","funding_links":[],"categories":["Go"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshoenig%2Fbcrypt-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshoenig%2Fbcrypt-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshoenig%2Fbcrypt-tool/lists"}