{"id":23152656,"url":"https://github.com/albinzayedrawan/random-number-generator","last_synced_at":"2025-04-04T15:41:08.397Z","repository":{"id":261989867,"uuid":"885912186","full_name":"albinzayedrawan/Random-Number-Generator","owner":"albinzayedrawan","description":"Lab exercises to understand the concepts of True Random Number Generators (TRNG) and Pseudo-Random Number Generators (PRNG).","archived":false,"fork":false,"pushed_at":"2024-11-09T18:16:06.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T01:30:03.525Z","etag":null,"topics":["cryptography","lcg","prng","trng"],"latest_commit_sha":null,"homepage":"","language":"Python","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/albinzayedrawan.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":"2024-11-09T18:07:38.000Z","updated_at":"2024-11-09T18:16:09.000Z","dependencies_parsed_at":"2024-11-09T19:21:06.020Z","dependency_job_id":"2f888773-0b52-4edc-bd18-fa38b8ccb47b","html_url":"https://github.com/albinzayedrawan/Random-Number-Generator","commit_stats":null,"previous_names":["albinzayedrawan/random-number-generator"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albinzayedrawan%2FRandom-Number-Generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albinzayedrawan%2FRandom-Number-Generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albinzayedrawan%2FRandom-Number-Generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albinzayedrawan%2FRandom-Number-Generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/albinzayedrawan","download_url":"https://codeload.github.com/albinzayedrawan/Random-Number-Generator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247207251,"owners_count":20901565,"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":["cryptography","lcg","prng","trng"],"created_at":"2024-12-17T19:17:15.250Z","updated_at":"2025-04-04T15:41:08.375Z","avatar_url":"https://github.com/albinzayedrawan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Random Number Generator\n\n## True Random Number Generator (TRNG):\n- Use an online TRNG service (e.g., random.org) or system-based entropy source (e.g., /dev/random) to collect 100 random numbers.\n- Record these numbers in a text file for analysis.\n- Plot the collected TRNG numbers on a histogram to visualize their distribution.\n- Comment on whether the numbers appear evenly distributed or show any discernible patterns.\n\n## Linear Congruential Generator (LCG):\n- Implement an LCG, a common PRNG algorithm, in Python using any parameters of your choice.\n- Generate a sequence of 100 numbers using the LCG, and record the results.\n- Use a fixed seed to ensure repeatability, and plot the distribution of the generated numbers.\n\n## Pseudo-Random Number Generator (PRNG):\n- Use Python’s built-in PRNG (random module) to generate another sequence of 100 numbers.\n- Set a fixed seed to make the results reproducible.\n- Record and plot the distribution of these numbers alongside the LCG-generated numbers.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbinzayedrawan%2Frandom-number-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falbinzayedrawan%2Frandom-number-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbinzayedrawan%2Frandom-number-generator/lists"}