{"id":15010123,"url":"https://github.com/ttvd/elixir-xxhash","last_synced_at":"2025-04-09T17:54:01.010Z","repository":{"id":31409517,"uuid":"34972827","full_name":"ttvd/elixir-xxhash","owner":"ttvd","description":"Pure Elixir implementation of xxHash.","archived":false,"fork":false,"pushed_at":"2022-09-06T07:29:31.000Z","size":23,"stargazers_count":29,"open_issues_count":2,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-04T17:05:11.591Z","etag":null,"topics":["elixir","hashing","xxhash"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/ttvd.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}},"created_at":"2015-05-03T03:47:38.000Z","updated_at":"2025-02-22T19:26:12.000Z","dependencies_parsed_at":"2022-08-28T11:41:41.803Z","dependency_job_id":null,"html_url":"https://github.com/ttvd/elixir-xxhash","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/ttvd%2Felixir-xxhash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttvd%2Felixir-xxhash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttvd%2Felixir-xxhash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttvd%2Felixir-xxhash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ttvd","download_url":"https://codeload.github.com/ttvd/elixir-xxhash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247953105,"owners_count":21023946,"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":["elixir","hashing","xxhash"],"created_at":"2024-09-24T19:30:24.692Z","updated_at":"2025-04-09T17:54:00.987Z","avatar_url":"https://github.com/ttvd.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"elixir-xxhash\n======\n\nThis is a pure Elixir implementation of [xxHash](https://github.com/Cyan4973/xxHash)\n\n## Usage\nAdd dependency in your mix.exs file:\n```\ndef deps do\n  [{:xxhash, \"~\u003e 0.3.1\"}]\nend\n```\nOnce this is done, execute mix deps.get to fetch and compile elixir-xxhash.\n\n## Running in iex\nRun with iex -S mix\n```\niex(4)\u003e XXHash.xxh32(\"\")\n0\niex(5)\u003e XXHash.xxh32(\"0\")\n1212501170\niex(6)\u003e XXHash.xxh32(\"abcd\")\n2741253893\niex(7)\u003e XXHash.xxh32(\"abcde\")\n2537091483\niex(8)\u003e XXHash.xxh32(\"xxhash\") == XXHash.xxh32(\"xxhash\")\ntrue\niex(9)\u003e XXHash.xxh32(\"0123456789abcde\")\n498989583\niex(10)\u003e XXHash.xxh32(\"0123456789abcdef\")\n3267648361\niex(11)\u003e XXHash.xxh32(\"0123456789abcdefg\")\n3430527511\n```\n\n## Limitations\n* This is still work in progress.\n\n## Notes\n* You should consider creating a NIF of [xxHash](https://github.com/Cyan4973/xxHash) if you require a high performance version.\n\n## License and copyright\n* (c) 2015, Mykola Konyk\n* Original [xxHash](https://github.com/Cyan4973/xxHash) (c) 2012-2014, Yann Collet\n* Distributed under the [MS-RL License.](http://opensource.org/licenses/MS-RL)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttvd%2Felixir-xxhash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fttvd%2Felixir-xxhash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttvd%2Felixir-xxhash/lists"}