{"id":15049224,"url":"https://github.com/birand/nova_drop","last_synced_at":"2026-02-15T23:01:21.694Z","repository":{"id":231576462,"uuid":"781991830","full_name":"birand/nova_drop","owner":"birand","description":"nova_drop is a lightweight, easy-to-use pseudo-random number generator (PRNG) designed for applications requiring random number generation with a good balance between simplicity, efficiency, and randomness quality. It features an increased state size and complex state interactions to enhance the randomness of its output.","archived":false,"fork":false,"pushed_at":"2024-04-04T12:45:52.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-07T20:47:20.747Z","etag":null,"topics":["c99","prng","randomizer"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/birand.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}},"created_at":"2024-04-04T12:35:44.000Z","updated_at":"2024-04-04T16:01:35.000Z","dependencies_parsed_at":"2024-04-04T18:26:41.385Z","dependency_job_id":"1e2fa415-78e8-4759-afa5-f6d38f2290dc","html_url":"https://github.com/birand/nova_drop","commit_stats":null,"previous_names":["birand/nova_drop"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/birand/nova_drop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/birand%2Fnova_drop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/birand%2Fnova_drop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/birand%2Fnova_drop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/birand%2Fnova_drop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/birand","download_url":"https://codeload.github.com/birand/nova_drop/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/birand%2Fnova_drop/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29491998,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T19:29:10.908Z","status":"ssl_error","status_checked_at":"2026-02-15T19:29:10.419Z","response_time":118,"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":["c99","prng","randomizer"],"created_at":"2024-09-24T21:19:10.365Z","updated_at":"2026-02-15T23:01:21.679Z","avatar_url":"https://github.com/birand.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nova Drop Pseudo-Random Number Generator\n\n## Overview\n\n`nova_drop` is a lightweight, easy-to-use pseudo-random number generator (PRNG) designed for applications requiring random number generation with a good balance between simplicity, efficiency, and randomness quality. It features an increased state size and complex state interactions to enhance the randomness of its output.\n\n## Features\n\n- Increased state size for longer periods and improved randomness.\n- Complex bitwise operations ensure thorough mixing of state.\n- Easy to integrate into any C or C++ project.\n- Designed with simplicity and performance in mind.\n\n## Getting Started\n\n### Prerequisites\n\n- A C compiler (e.g., GCC, Clang)\n- Basic knowledge of C programming\n\n### Compilation\n\n1. Save `nova_drop.c` and `nova_drop.h` in your project directory.\n2. Include `nova_drop.h` in your source file: `#include \"nova_drop.h\"`.\n3. Compile your project. For example, if using GCC and your source file is `main.c`:\n\n```bash\ngcc -o my_program main.c nova_drop.c\n```\n### Usage\nInitialize the PRNG State: Before generating random numbers, initialize the state with a seed.\n```bash\nuint32_t state[NOVA_DROP_STATE_SIZE];\nuint32_t seed = 123456789; // Example seed\nnova_init(state, seed);\n```\nGenerate Random Numbers: Use nova_drop to generate random numbers as needed.\n```bash\nuint32_t random_number = nova_drop(state);\n```\n## Documentation\n\n## Functions\nvoid nova_init(uint32_t *state, uint32_t seed): Initializes the PRNG state with a given seed.\nuint32_t nova_drop(uint32_t *state): Generates a pseudo-random number based on the current state and updates the state.\n## Constants\nNOVA_DROP_STATE_SIZE: The size of the state array required by nova_drop. Currently set to 5.\n### License\n\nnova_drop is open source and freely available for personal and commercial use.\n\n### Disclaimer\n\nWhile nova_drop has been designed with care, it has not undergone extensive testing in cryptographic contexts and should not be used for security-critical applications without further validation.\n\n### Contributions\n\nContributions, suggestions, and bug reports are welcome and can be submitted via the project's GitHub repository.\n\n### Contact\n\nFor questions or support, please open an issue on the GitHub project page.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbirand%2Fnova_drop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbirand%2Fnova_drop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbirand%2Fnova_drop/lists"}