{"id":33934138,"url":"https://github.com/stichtingorganism/balloon","last_synced_at":"2026-04-09T05:32:23.346Z","repository":{"id":62438508,"uuid":"149201551","full_name":"stichtingorganism/balloon","owner":"stichtingorganism","description":"Balloon Hash in rust with Blake2b","archived":false,"fork":false,"pushed_at":"2021-07-13T06:47:45.000Z","size":45,"stargazers_count":8,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-12-14T00:59:42.963Z","etag":null,"topics":["balloon","dragons"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stichtingorganism.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}},"created_at":"2018-09-17T23:37:03.000Z","updated_at":"2022-10-24T14:40:46.000Z","dependencies_parsed_at":"2022-11-01T21:47:31.026Z","dependency_job_id":null,"html_url":"https://github.com/stichtingorganism/balloon","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stichtingorganism/balloon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stichtingorganism%2Fballoon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stichtingorganism%2Fballoon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stichtingorganism%2Fballoon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stichtingorganism%2Fballoon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stichtingorganism","download_url":"https://codeload.github.com/stichtingorganism/balloon/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stichtingorganism%2Fballoon/sbom","scorecard":{"id":853169,"data":{"date":"2025-08-11","repo":{"name":"github.com/stichtingorganism/balloon","commit":"6beb3b890534fb3e1ed1ec3220efeb94a795815e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/25 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":"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":"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":"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: 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":-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":"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 1 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-23T23:05:41.618Z","repository_id":62438508,"created_at":"2025-08-23T23:05:41.618Z","updated_at":"2025-08-23T23:05:41.618Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31587820,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"online","status_checked_at":"2026-04-09T02:00:06.848Z","response_time":112,"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":["balloon","dragons"],"created_at":"2025-12-12T13:26:50.820Z","updated_at":"2026-04-09T05:32:23.339Z","avatar_url":"https://github.com/stichtingorganism.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# balloon hash\n\nThis is a [balloon hash](https://crypto.stanford.edu/balloon/) implementation. It is taylored for organism's needs.\nThe [paper](https://eprint.iacr.org/2016/027.pdf) can be read for more information about the memory hardness properties.\n\nBalloon is provably sequentially sound and is a better alternative to pbkdf2. \nIt is used as a key derivation function and in places where at a cost to performance one desires memory hardness properties \nas a defense mechanism. \n\n\n\n\n/*\n - https://eprint.iacr.org/2016/027.pdf\n - https://crypto.stanford.edu/balloon/\n - https://github.com/codahale/balloonhash/blob/master/src/main/java/com/codahale/balloonhash/BalloonHash.java\n - https://github.com/moxnetwork/mox/blob/master/attic/balloon.go\n - https://github.com/nachonavarro/balloon-hashing\n\n    The algorithm consists of three main parts, as explained in the paper.\n    The first step is the expansion, in which the system fills up a buffer\n    with pseudorandom bytes derived from the password and salt by computing\n    repeatedly the hash function on a combination of the password and the previous hash.\n    The second step is mixing, in which the system mixes time_cost number of times the\n    pseudorandom bytes in the buffer. At each step in the for loop, it updates the nth block\n    to be the hash of the n-1th block, the nth block, and delta other blocks chosen at random\n    from the buffer. In the last step, the extraction, the system outputs as the hash the last element in the buffer.\n\n\n    High-security key derivation 128 MB space from ref implementation.\n\n    The larger the time parameter, the longer the hash computation will take.\n    The choice of time has an effect on the memory-hardness properties of the scheme: the larger time is,\n    the longer it takes to compute the function in small space.\n*/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstichtingorganism%2Fballoon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstichtingorganism%2Fballoon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstichtingorganism%2Fballoon/lists"}