{"id":15724443,"url":"https://github.com/cldellow/hash-matcher","last_synced_at":"2025-10-21T03:30:18.953Z","repository":{"id":140790616,"uuid":"173953619","full_name":"cldellow/hash-matcher","owner":"cldellow","description":"Implementation of http://pzemtsov.github.io/2016/10/16/custom-hash-function.html in Scala","archived":false,"fork":false,"pushed_at":"2019-09-27T04:01:33.000Z","size":18,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-06T03:41:53.345Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/cldellow.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":"2019-03-05T13:39:47.000Z","updated_at":"2019-09-27T04:01:35.000Z","dependencies_parsed_at":"2024-05-19T14:00:24.357Z","dependency_job_id":null,"html_url":"https://github.com/cldellow/hash-matcher","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cldellow%2Fhash-matcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cldellow%2Fhash-matcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cldellow%2Fhash-matcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cldellow%2Fhash-matcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cldellow","download_url":"https://codeload.github.com/cldellow/hash-matcher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237425257,"owners_count":19308056,"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":[],"created_at":"2024-10-03T22:16:42.659Z","updated_at":"2025-10-21T03:30:18.641Z","avatar_url":"https://github.com/cldellow.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hash-matcher\n\nImplements a constant time needle-in-haystack search over byte arrays, using the ideas\nfrom http://pzemtsov.github.io/2016/10/16/custom-hash-function.html\n\nThis library is useful for quickly pre-filtering corpora to decide whether to do\nfurther processing.\n\n## Usage\n\n\n```scala\nimport com.cldellow.hashmatcher.HashMatcher.createIntHash\n\nval f = createIntHash(\"food\", \"good\")\n\nf(\"People eat food\".getBytes(\"UTF-8\"), 15) // true\n\nf(\"Word!\".getBytes(\"UTF-8\"), 5) // false\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcldellow%2Fhash-matcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcldellow%2Fhash-matcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcldellow%2Fhash-matcher/lists"}