{"id":16572732,"url":"https://github.com/lemire/swiftwyhash","last_synced_at":"2026-03-04T23:02:57.438Z","repository":{"id":52680263,"uuid":"189069723","full_name":"lemire/SwiftWyhash","owner":"lemire","description":"Fast random number generator in pure Swift","archived":false,"fork":false,"pushed_at":"2025-05-26T19:51:39.000Z","size":29,"stargazers_count":25,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-09-17T19:37:07.179Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","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/lemire.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":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-05-28T17:02:48.000Z","updated_at":"2025-06-07T13:46:42.000Z","dependencies_parsed_at":"2025-09-17T19:04:55.650Z","dependency_job_id":"00e788a3-9a4f-4089-aed9-51c13db643d3","html_url":"https://github.com/lemire/SwiftWyhash","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/lemire/SwiftWyhash","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemire%2FSwiftWyhash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemire%2FSwiftWyhash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemire%2FSwiftWyhash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemire%2FSwiftWyhash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lemire","download_url":"https://codeload.github.com/lemire/SwiftWyhash/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemire%2FSwiftWyhash/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30098105,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T22:49:54.894Z","status":"ssl_error","status_checked_at":"2026-03-04T22:49:48.883Z","response_time":59,"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":"2024-10-11T21:28:28.155Z","updated_at":"2026-03-04T23:02:57.375Z","avatar_url":"https://github.com/lemire.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SwiftWyhash\n\nThis is Swift port of pseudorandom number generator `wyrand` from [wyhash](https://github.com/wangyi-fudan/wyhash) by Wang Yi. On 64-bit hardware, it is should be effectively faster than any other commonly available random number generator. It meets  quality standards: it passes Big Crunch.\n\nIt conforms to [RandomNumberGenerator](https://developer.apple.com/documentation/swift/randomnumbergenerator) protocol.\n\nUsage:\n\n```swift\nvar gen = WyRand(seed: 42)\ngen.next() // generates a 64-bit random number\n\n(1...10).shuffled(using: \u0026gen)\n```\n\nFor a benchmark, see [SwiftWyhashBenchmark](https://github.com/lemire/SwiftWyhashBenchmark).\n\n\n\nFurther reading: [The fastest conventional random number generator that can pass Big Crush?](https://lemire.me/blog/2019/03/19/the-fastest-conventional-random-number-generator-that-can-pass-big-crush/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemire%2Fswiftwyhash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flemire%2Fswiftwyhash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemire%2Fswiftwyhash/lists"}