{"id":35026058,"url":"https://github.com/bryant/haskid","last_synced_at":"2026-04-04T04:38:02.444Z","repository":{"id":25159190,"uuid":"28582016","full_name":"bryant/haskid","owner":"bryant","description":"Hashids! In Haskell! Really fast!","archived":false,"fork":false,"pushed_at":"2017-02-01T06:26:28.000Z","size":176,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-04T04:37:57.863Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/bryant.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}},"created_at":"2014-12-29T05:58:16.000Z","updated_at":"2017-02-01T06:26:29.000Z","dependencies_parsed_at":"2022-08-23T17:41:01.957Z","dependency_job_id":null,"html_url":"https://github.com/bryant/haskid","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bryant/haskid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryant%2Fhaskid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryant%2Fhaskid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryant%2Fhaskid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryant%2Fhaskid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bryant","download_url":"https://codeload.github.com/bryant/haskid/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryant%2Fhaskid/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31388168,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T04:26:24.776Z","status":"ssl_error","status_checked_at":"2026-04-04T04:23:34.147Z","response_time":60,"last_error":"SSL_read: 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":[],"created_at":"2025-12-27T06:26:09.122Z","updated_at":"2026-04-04T04:38:02.409Z","avatar_url":"https://github.com/bryant.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"haskid\n======\n\nScreaming fast [Hashids](http://hashids.org) in Haskell.\n\n### Build\n\n```bash\n$ cabal sandbox init  # create a sandbox as appropriate\n$ cabal install --only-dep  # install haskid's dependencies\n$ cabal install  # build and install haskid\n```\n\n### Usage\n\n```bash\n$ cd $PROJECT_ROOT\n$ cabal exec ghci\n09:25:15 ~/dev/haskid\u003e cabal exec ghci\nPrelude\u003e import Data.HaskID\nPrelude Data.HaskID\u003e let Right options = init_haskid opts { opt_salt = \"this is my salt\" }\nPrelude Data.HaskID\u003e encode options [1, 2, 3]\n\"laHquq\"\nPrelude Data.HaskID\u003e decode options (encode options [1, 2, 3])\n[1,2,3]\nPrelude Data.HaskID\u003e\n```\n\n### Benchmarks\n\nBuild and run benchmarks which pit haskid against the C++11 implementation,\n[hashidsxx](https://github.com/schoentoon/hashidsxx):\n\n```bash\n$ cd $PROJECT_ROOT\n$ cabal configure --flags=-bench  # configure with benchmarks enabled\n$ cabal build\n$ ./dist/build/benchmarks/benchmarks --output benchmarks.html\n```\n\nExisting benchmarks results are also available\n[here](https://bryant.github.io/haskid/benchmarks.html),\nwhich were run under a twelve-core i7-3930K:\n\n```bash\n$ tail -n 26 /proc/cpuinfo\nprocessor       : 11\nvendor_id       : GenuineIntel\ncpu family      : 6\nmodel           : 45\nmodel name      : Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz\nstepping        : 7\nmicrocode       : 0x710\ncpu MHz         : 3200.005\ncache size      : 12288 KB\nphysical id     : 0\nsiblings        : 12\ncore id         : 5\ncpu cores       : 6\napicid          : 11\ninitial apicid  : 11\nfpu             : yes\nfpu_exception   : yes\ncpuid level     : 13\nwp              : yes\nflags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid\nbogomips        : 6400.04\nclflush size    : 64\ncache_alignment : 64\naddress sizes   : 46 bits physical, 48 bits virtual\npower management:\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbryant%2Fhaskid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbryant%2Fhaskid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbryant%2Fhaskid/lists"}