{"id":22055262,"url":"https://github.com/thevilledev/chibihash-zig","last_synced_at":"2026-02-13T14:02:30.470Z","repository":{"id":265557778,"uuid":"895259491","full_name":"thevilledev/ChibiHash-zig","owner":"thevilledev","description":"ChibiHash in Zig - a small, fast 64-bit hash function","archived":false,"fork":false,"pushed_at":"2024-12-02T21:12:20.000Z","size":12,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T16:59:12.857Z","etag":null,"topics":["hash-functions","zig","zig-package"],"latest_commit_sha":null,"homepage":"https://chibiha.sh","language":"Zig","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/thevilledev.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-11-27T21:33:50.000Z","updated_at":"2025-03-11T19:47:52.000Z","dependencies_parsed_at":"2024-11-29T23:19:06.539Z","dependency_job_id":"ab74d479-dac9-462c-8d0e-9669c464322c","html_url":"https://github.com/thevilledev/ChibiHash-zig","commit_stats":null,"previous_names":["thevilledev/chibihash-zig"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thevilledev%2FChibiHash-zig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thevilledev%2FChibiHash-zig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thevilledev%2FChibiHash-zig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thevilledev%2FChibiHash-zig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thevilledev","download_url":"https://codeload.github.com/thevilledev/ChibiHash-zig/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245128130,"owners_count":20565206,"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":["hash-functions","zig","zig-package"],"created_at":"2024-11-30T16:06:03.129Z","updated_at":"2026-02-13T14:02:25.447Z","avatar_url":"https://github.com/thevilledev.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ChibiHash64-Zig\n\nA Zig port of [ChibiHash64](https://github.com/N-R-K/ChibiHash) - a small, fast 64-bit hash function. See the article [ChibiHash: A small, fast 64-bit hash function](https://nrk.neocities.org/articles/chibihash) for more information.\n\nAll credit for the algorithm goes to [N-R-K](https://github.com/N-R-K).\n\n## Features\n\n- Simple 64-bit hash function\n- Supports both v1 and v2 of the hash function\n- HashMap implementation\n- Thoroughly tested with known test vectors\n\n## Usage\n\n```\nconst std = @import(\"std\");\nconst ChibiHash64v1 = @import(\"chibihash64_v1.zig\");\nconst ChibiHash64v2 = @import(\"chibihash64_v2.zig\");\n\n// Basic hashing v1\nconst hash = ChibiHash64v1.hash(\"Hello, world!\", 0);\n\n// Using HashMap v1\nvar map = ChibiHash64v1.HashMap([]const u8, i32).init(allocator);\ndefer map.deinit();\n\n// Basic hashing v2\nconst hash = ChibiHash64v2.hash(\"Hello, world!\", 0);\n\n// Using HashMap v2\nvar map = ChibiHash64v2.HashMap([]const u8, i32).init(allocator);\ndefer map.deinit();\n```\n\nSee `example/example.zig` for a complete example. Run it with `zig build run-example`.\n\n## License\n\nMIT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthevilledev%2Fchibihash-zig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthevilledev%2Fchibihash-zig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthevilledev%2Fchibihash-zig/lists"}