{"id":13721134,"url":"https://github.com/awgh/bencrypt","last_synced_at":"2026-01-29T12:18:31.932Z","repository":{"id":84623835,"uuid":"60814643","full_name":"awgh/bencrypt","owner":"awgh","description":"Encryption Abstraction Layer and Utilities for ratnet ","archived":false,"fork":false,"pushed_at":"2024-05-03T10:00:48.000Z","size":83,"stargazers_count":18,"open_issues_count":2,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-14T08:37:22.242Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://awgh.github.io/bencrypt","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/awgh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","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":"2016-06-10T00:00:24.000Z","updated_at":"2024-12-20T04:25:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"f8a5b219-46b4-496c-95e2-af8581eb33a2","html_url":"https://github.com/awgh/bencrypt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/awgh/bencrypt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awgh%2Fbencrypt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awgh%2Fbencrypt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awgh%2Fbencrypt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awgh%2Fbencrypt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/awgh","download_url":"https://codeload.github.com/awgh/bencrypt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awgh%2Fbencrypt/sbom","scorecard":{"id":219074,"data":{"date":"2025-08-11","repo":{"name":"github.com/awgh/bencrypt","commit":"b65cb460b2c89f8f41272c5c3f8434c728529596"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"Code-Review","score":0,"reason":"Found 1/17 approved changesets -- score normalized to 0","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":"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":"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":"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":"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":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: license.txt:0","Info: FSF or OSI recognized license: MIT License: license.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 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-17T02:09:24.555Z","repository_id":84623835,"created_at":"2025-08-17T02:09:24.555Z","updated_at":"2025-08-17T02:09:24.555Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28877361,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T10:31:27.438Z","status":"ssl_error","status_checked_at":"2026-01-29T10:31:01.017Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-08-03T01:01:12.796Z","updated_at":"2026-01-29T12:18:31.903Z","avatar_url":"https://github.com/awgh.png","language":"Go","funding_links":[],"categories":["Encryption"],"sub_categories":[],"readme":"\n# What is Bencrypt?\n\nBencrypt is an abstraction layer for cryptosystems in Go, that lets applications use hybrid cryptosystems without being coupled to their internal workings. It lets applications easily switch between using ECC or RSA, for example.\n\nImplementations of both ECC-based and RSA-based systems are included, as are a collection of generally-useful crypto utilities, such as:\n\n    - PKCS7 Padding/Unpadding\n    - AES-CBC symmetric encrypt/decrypt\n    - SSL Certificate Generation in both RSA and ECC modes\n\nBencrypt was developed to provide a layer of abstraction for cryptosystems below the [ratnet project](https://github.com/awgh/ratnet).\n\t\n# Documentation\n\nAPI Docs are availble here: https://godoc.org/github.com/awgh/bencrypt\n\n# Usage\n\nIn normal usage, you will want to include at least two packages:\n\n- \"bencrypt/bc\" - This contains the API and interfaces, you'll need this every time\n\nThen, include each cryptosystem definition that you want to use.  Two of them are included with bencrypt at the moment:\n\n- \"bencrypt/ecc\" - A hybrid cryptosystem using Curve25519, AES-CBC-256, and HMAC-SHA-256.\n- \"bencrypt/rsa\" - A hybrid cryptosystem using RSA-4096, AES-CBC-256, and HMAC-SHA-256.\n\n# Add Your Own CryptoSystem\n\nTo add your own cryptosystem to bencrypt:\n\n- Make a new package and include \"bencrypt/bc\".\n- Create an implementation of [bc.PubKey](https://godoc.org/github.com/awgh/bencrypt/bc#PubKey) for your system.\n- Create an implementation of [bc.KeyPair](https://godoc.org/github.com/awgh/bencrypt/bc#KeyPair) for your system.\n\t\nThen, to use it, just include your system instead of \"bencrypt/ecc\" or \"bencrypt/rsa\" in your app.\n\n# Related Projects\n\n- [Bencrypt, crypto abstraction layer \u0026 utils](https://github.com/awgh/bencrypt)\n- [Ratnet, onion-routed messaging system with pluggable transports](https://github.com/awgh/ratnet)\n- [HushCom, simple IRC-like client \u0026 server](https://github.com/awgh/hushcom)\n\n# Authors and Contributors\nawgh@awgh.org (@awgh)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawgh%2Fbencrypt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fawgh%2Fbencrypt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawgh%2Fbencrypt/lists"}