{"id":16943776,"url":"https://github.com/matiaskorhonen/digest_bench","last_synced_at":"2025-07-10T18:34:49.828Z","repository":{"id":226296520,"uuid":"768293462","full_name":"matiaskorhonen/digest_bench","owner":"matiaskorhonen","description":"Benchmarks of various hash algorithms","archived":false,"fork":false,"pushed_at":"2024-03-13T16:44:30.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-21T08:44:15.117Z","etag":null,"topics":["benchmarks","hashing","ruby"],"latest_commit_sha":null,"homepage":"https://www.randomerrata.com/articles/2024/hashing-benchmarks/","language":"Ruby","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/matiaskorhonen.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}},"created_at":"2024-03-06T20:25:22.000Z","updated_at":"2024-03-11T20:27:28.000Z","dependencies_parsed_at":"2024-03-13T17:57:43.872Z","dependency_job_id":null,"html_url":"https://github.com/matiaskorhonen/digest_bench","commit_stats":null,"previous_names":["matiaskorhonen/digest_bench"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/matiaskorhonen/digest_bench","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matiaskorhonen%2Fdigest_bench","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matiaskorhonen%2Fdigest_bench/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matiaskorhonen%2Fdigest_bench/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matiaskorhonen%2Fdigest_bench/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matiaskorhonen","download_url":"https://codeload.github.com/matiaskorhonen/digest_bench/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matiaskorhonen%2Fdigest_bench/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264631213,"owners_count":23640941,"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","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":["benchmarks","hashing","ruby"],"created_at":"2024-10-13T21:15:13.538Z","updated_at":"2025-07-10T18:34:49.811Z","avatar_url":"https://github.com/matiaskorhonen.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Non-scientific hash benchmarks\n\nBenchmarks of various hash algorithms with Ruby.\n\n## Algorithms\n\n* Ruby stdlib:\n  * [MD5][]\n  * [SHA1][]/[SHA256][SHA2]/[SHA512][SHA2]\n  * [Zlib CRC32][]\n* Gems:\n  * [digest-xxhash][] (XXH32/XXH64/XXH3)\n  * [murmurhash3][] (32/128)\n  * [cityhash][] (32/64/128)\n  * [openssl][] (MD5, SHA1, SHA256, SHA512, SHA3)\n\nThese algorithms are not all equivalent so don't just blindly pick the fastest one!\n\n[MD5]: https://docs.ruby-lang.org/en/3.3/Digest/MD5.html\n[SHA1]: https://docs.ruby-lang.org/en/3.3/Digest/SHA1.html\n[SHA2]: https://docs.ruby-lang.org/en/3.3/Digest/SHA2.html\n[SHA1]: https://docs.ruby-lang.org/en/3.3/Digest/SHA1.html\n[Zlib CRC32]: https://docs.ruby-lang.org/en/3.3/Zlib.html#method-c-crc32\n[digest-xxhash]: https://rubygems.org/gems/digest-xxhash\n[murmurhash3]: https://rubygems.org/gems/murmurhash3\n[cityhash]: https://rubygems.org/gems/cityhash\n[openssl]: https://rubygems.org/gems/openssl\n\n## More info\n\nSee the [accompanying blog post](https://www.randomerrata.com/articles/2024/hashing-benchmarks/) for a chart and some more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatiaskorhonen%2Fdigest_bench","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatiaskorhonen%2Fdigest_bench","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatiaskorhonen%2Fdigest_bench/lists"}