{"id":16366096,"url":"https://github.com/bgrainger/romurandom","last_synced_at":"2026-02-17T03:30:15.777Z","repository":{"id":136936656,"uuid":"244546031","full_name":"bgrainger/RomuRandom","owner":"bgrainger","description":".NET implementation of Romu random number generators","archived":false,"fork":false,"pushed_at":"2020-03-06T06:41:20.000Z","size":33,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-31T01:27:35.459Z","etag":null,"topics":["csharp","netcore","netstandard","prng","random-number-generators","romu"],"latest_commit_sha":null,"homepage":"http://romu-random.org/","language":"C#","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/bgrainger.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":"2020-03-03T05:01:32.000Z","updated_at":"2020-11-09T03:26:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"d174e41a-8f42-4b05-bc06-dc82fd9f1d81","html_url":"https://github.com/bgrainger/RomuRandom","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/bgrainger%2FRomuRandom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bgrainger%2FRomuRandom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bgrainger%2FRomuRandom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bgrainger%2FRomuRandom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bgrainger","download_url":"https://codeload.github.com/bgrainger/RomuRandom/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239826290,"owners_count":19703456,"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":["csharp","netcore","netstandard","prng","random-number-generators","romu"],"created_at":"2024-10-11T02:45:19.711Z","updated_at":"2026-02-17T03:30:15.736Z","avatar_url":"https://github.com/bgrainger.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RomuRandom\n\nRomuRandom is a .NET implementation of the [Romu](http://romu-random.org/) family of\nrandom number generators.\n\n[![Build Status](https://github.com/bgrainger/RomuRandom/workflows/Tests/badge.svg)](https://github.com/bgrainger/RomuRandom/actions)\n[![NuGet](https://img.shields.io/nuget/vpre/RomuRandom)](https://www.nuget.org/packages/RomuRandom)\n\n## Usage\n\nUse `RomuRandom` as a drop-in replacement for [`System.Random`](https://docs.microsoft.com/en-us/dotnet/api/system.random):\n\n```csharp\nSystem.Random random = new RomuRandom(); // seeded with current time\nvar randomNumber = random.Next();\nvar dieRoll = random.Next(6); // from 0-5\nvar randomInRange = random.Next(100, 200); // from 100-199\n\nvar bytes = new byte[100];\nrandom.NextBytes(bytes); // fill array with random bytes\n```\n\n### Advanced\n\nThe `RomuDuo`, `RomuTrio`, and `RomuQuad` classes can be\ninstantiated directly (for higher performance, or more control\nover the seed values).\n\nNote that they only return a random `ulong` value in the range\n`[0, UInt64.MaxValue]`. This needs to be converted carefully\nif you want to get a random number in a smaller range without bias.\n\n## License\n\nLicensed under the [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbgrainger%2Fromurandom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbgrainger%2Fromurandom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbgrainger%2Fromurandom/lists"}