{"id":20106749,"url":"https://github.com/ravbug/randoms","last_synced_at":"2025-08-20T12:44:54.239Z","repository":{"id":117437734,"uuid":"214264573","full_name":"Ravbug/randoms","owner":"Ravbug","description":"Collection of terrible random functions","archived":false,"fork":false,"pushed_at":"2020-02-13T23:28:27.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-02T17:50:07.075Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","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/Ravbug.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":"2019-10-10T19:08:20.000Z","updated_at":"2020-02-13T23:28:29.000Z","dependencies_parsed_at":"2023-04-10T09:33:23.934Z","dependency_job_id":null,"html_url":"https://github.com/Ravbug/randoms","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Ravbug/randoms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ravbug%2Frandoms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ravbug%2Frandoms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ravbug%2Frandoms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ravbug%2Frandoms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ravbug","download_url":"https://codeload.github.com/Ravbug/randoms/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ravbug%2Frandoms/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271321371,"owners_count":24739472,"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","status":"online","status_checked_at":"2025-08-20T02:00:09.606Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-13T17:54:41.305Z","updated_at":"2025-08-20T12:44:54.156Z","avatar_url":"https://github.com/Ravbug.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# randoms\nThis repository contains terrible random functions I have written. \n\nIt currently contains the following algorithms\n1. RAM Random (aka RAMdom), an undefined behavior based random algorithm (C)\n2. RAM Random 2 (aka RAMdom2), a far leaner version of RAMdom\n2. DevRandom (aka devrand), a randomizer that uses `/dev/random` (C)\n3. msrand, a poor implementation of the middle-squared method\n\n\nRAMdom distribution chart\n```\n1: ***\n2: \n3: *****\n4: ****\n5: **\n6: \n7: *\n8: ***\n9: ***\n10: *\n11: \n12: **\n13: **\n14: ****\n15: ****\n16: *\n17: \n18: **\n19: *****\n20: *\n21: \n22: ***\n23: ******\n24: \n25: *\n26: *\n27: \n28: ****\n29: **\n30: \n31: *\n32: **\n33: ***\n34: \n35: *\n36: **\n37: *\n38: ***\n39: **\n40: *\n41: *\n42: *******\n43: **\n44: **\n45: \n46: **\n47: ******\n48: \n49: *\n50: *\n51: ****\n52: ****\n53: *\n54: \n55: *\n56: ******\n57: **\n58: ****\n59: ****\n60: ***\n61: *******\n62: *\n63: \n64: \n65: ***\n66: *****\n67: *\n68: ***\n69: **\n70: ********\n71: ****\n72: **\n73: *****\n74: **\n75: ******\n76: **\n77: *******\n78: \n79: *\n80: ******\n81: ***\n82: *\n83: *\n84: ****\n85: ****\n86: **\n87: **\n88: **\n89: *****\n90: *******\n91: ****\n92: **\n93: ****\n94: ****\n95: ***\n96: ****\n97: \n98: *\n99: *****\n```\n\n\n## Usage\nYou will need: \n1. make\n2. a C compiler\n\nTo run the sample program, run in terminal: ```make \u0026\u0026 ./main```\n\nClean: ```make clean```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fravbug%2Frandoms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fravbug%2Frandoms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fravbug%2Frandoms/lists"}