{"id":20851194,"url":"https://github.com/elementbound/hashcompress","last_synced_at":"2025-10-08T02:29:27.551Z","repository":{"id":71330486,"uuid":"157452068","full_name":"elementbound/hashcompress","owner":"elementbound","description":"\"What could go wrong?\"","archived":false,"fork":false,"pushed_at":"2018-11-13T22:57:06.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-12T12:42:06.881Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/elementbound.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":"2018-11-13T21:52:30.000Z","updated_at":"2018-11-13T22:57:07.000Z","dependencies_parsed_at":"2023-03-13T20:20:28.728Z","dependency_job_id":null,"html_url":"https://github.com/elementbound/hashcompress","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/elementbound/hashcompress","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elementbound%2Fhashcompress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elementbound%2Fhashcompress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elementbound%2Fhashcompress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elementbound%2Fhashcompress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elementbound","download_url":"https://codeload.github.com/elementbound/hashcompress/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elementbound%2Fhashcompress/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278877340,"owners_count":26061429,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","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":[],"created_at":"2024-11-18T03:12:46.976Z","updated_at":"2025-10-08T02:29:27.545Z","avatar_url":"https://github.com/elementbound.png","language":"Java","readme":"# Hashcompress #\n\nA joke algorithm with excellent compression ratio.\n\n## Pros/Cons ##\n\n* Very fast compression\n* Compression ratio can be easily improved by increasing block size\n* Slow decompression\n* Unpacked file might be corrupt*\n\n## Usage ##\n\n```sh\n$ mvn clean install\n...produce an executable jar\n$ java -jar target/hashcompress*.jar \u003ccompression|decompression\u003e \u003cblockSize\u003e \u003cinput\u003e \u003coutput\u003e\n...compress/decompress file\n```\n\n## How does it work ##\n\nDuring compression, the input is split up into blocks of the given size. These go through a hashing algorithm, which produces a fixed size output. Thus, the compression ratio is determined by the block size and the algorithm's output size. Each block's hash is written to the output as-is.\n\nDuring decompression, the block hashes are read one by one. For each, the decompression 'algorithm' will guess until it finds a block that yields the same hash value and writes it to the output.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felementbound%2Fhashcompress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felementbound%2Fhashcompress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felementbound%2Fhashcompress/lists"}