{"id":43572604,"url":"https://github.com/zorchenhimer/go-ed2k","last_synced_at":"2026-02-03T22:37:24.803Z","repository":{"id":61949225,"uuid":"556470310","full_name":"zorchenhimer/go-ed2k","owner":"zorchenhimer","description":"ed2k hash implementation written in Go","archived":false,"fork":false,"pushed_at":"2022-12-17T18:04:30.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-20T11:15:50.318Z","etag":null,"topics":["ed2k","hash","hashing","hashing-algorithm"],"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/zorchenhimer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-10-23T23:12:54.000Z","updated_at":"2022-12-17T18:00:46.000Z","dependencies_parsed_at":"2023-01-29T17:46:00.899Z","dependency_job_id":null,"html_url":"https://github.com/zorchenhimer/go-ed2k","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/zorchenhimer/go-ed2k","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zorchenhimer%2Fgo-ed2k","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zorchenhimer%2Fgo-ed2k/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zorchenhimer%2Fgo-ed2k/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zorchenhimer%2Fgo-ed2k/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zorchenhimer","download_url":"https://codeload.github.com/zorchenhimer/go-ed2k/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zorchenhimer%2Fgo-ed2k/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29060578,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T22:28:58.191Z","status":"ssl_error","status_checked_at":"2026-02-03T22:28:56.515Z","response_time":96,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["ed2k","hash","hashing","hashing-algorithm"],"created_at":"2026-02-03T22:37:23.804Z","updated_at":"2026-02-03T22:37:24.788Z","avatar_url":"https://github.com/zorchenhimer.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ED2K\n\nThis package implements the ed2k hashing algorithm.  There are two different\nimplementations that are mostly the same but differ on an edge case.  Both of\nthese are provided by this package.\n\n## The Hash\n\nA hash is calculated by first reading the input in 9728000 byte chunks.  Each\nchunk is then hashed with the MD4 algorithm.  Once all chunks have been hashed,\nthe list of hashes for each chunk is hashed one more time, giving the final\nhash.\n\nIf there is less than 9728000 bytes of data to hash, the MD4 of the data is\nreturned without further modification.\n\nThe two implementations differ when there are is a multiple of 9728000 bytes in\nevery chunk of the data.  The Red version will add a zero-length chunk to the\nend and add the hash of this empty chunk to the list of hashes before computing\nthe final hash.  The Blue version does not do this.\n\nThe Sum() function uses the Blue method.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzorchenhimer%2Fgo-ed2k","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzorchenhimer%2Fgo-ed2k","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzorchenhimer%2Fgo-ed2k/lists"}