{"id":18260015,"url":"https://github.com/hungrybluedev/rng_testbench","last_synced_at":"2026-03-19T03:34:21.358Z","repository":{"id":66643705,"uuid":"481564060","full_name":"hungrybluedev/rng_testbench","owner":"hungrybluedev","description":"RNG Test Bench in V for evaluating internal and external PRNGs.","archived":false,"fork":false,"pushed_at":"2023-05-26T18:54:02.000Z","size":136,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-04-08T23:44:30.067Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"V","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/hungrybluedev.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-14T10:35:29.000Z","updated_at":"2022-06-03T08:50:50.000Z","dependencies_parsed_at":"2024-11-05T11:03:35.952Z","dependency_job_id":null,"html_url":"https://github.com/hungrybluedev/rng_testbench","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hungrybluedev/rng_testbench","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hungrybluedev%2Frng_testbench","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hungrybluedev%2Frng_testbench/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hungrybluedev%2Frng_testbench/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hungrybluedev%2Frng_testbench/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hungrybluedev","download_url":"https://codeload.github.com/hungrybluedev/rng_testbench/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hungrybluedev%2Frng_testbench/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28621645,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T23:49:58.628Z","status":"ssl_error","status_checked_at":"2026-01-20T23:47:29.996Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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-11-05T10:41:33.765Z","updated_at":"2026-01-21T01:32:43.036Z","avatar_url":"https://github.com/hungrybluedev.png","language":"V","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RNG Test Bench\n\n## Brief Summary\n\nOrder of operations:\n\n1. Generate a ~700MB file of random bytes for each generator, for each\n   iteration.\n2. Run `ent` on the file.\n3. Run all specified `dieharder` tests on the file if `ent` passes.\n4. Burn 5 billion bytes from each generator, for each iteration. Record the\n   timings and calculate throughput.\n5. Run one final suite of classical tests on the generator.\n\n## Prerequisites\n\n1. It needs to be run on a system that can install `ent` and `dieharder`.\n   `time` is also recommended, but not necessary.\n2. Install `ent` and `dieharder` from the package manager if available.\n   Otherwise, refer to their respective repositories:\n   [ent](https://github.com/jj1bdx/ent) and\n   [dieharder](https://github.com/seehuhn/dieharder).\n3. Install `zip` if you do not have it.\n4. Optionally create a config.toml file based on the sample provided if\n   any of the settings need to be changed.\n\n## Usage\n\n### Testing all generators\n\nUncomment the required generators in the `enabled_generators` array in\n`src/main.v`.\n\nIt is recommended to use `v -prod .` to compile the program.\n\nThen run it using `time ./rng_testbench --mode runall`\n\n**NOTE:** If all iterations are set, each RNG takes over 10 minutes to test\n(using `-prod`).\n\nIf the email API key is set, it will attempt to send an email after the test\nhas concluded.\n\n### Showing the summary/summaries\n\nJust run `v run .` after at least one test is run.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhungrybluedev%2Frng_testbench","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhungrybluedev%2Frng_testbench","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhungrybluedev%2Frng_testbench/lists"}