{"id":16005434,"url":"https://github.com/edgarogh/camerash","last_synced_at":"2026-01-07T01:48:47.061Z","repository":{"id":109149664,"uuid":"132255119","full_name":"edgarogh/Camerash","owner":"edgarogh","description":"Little educational app to create entropy/randomness from a video input","archived":false,"fork":false,"pushed_at":"2024-06-08T17:47:42.000Z","size":1228,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-02T06:26:42.014Z","etag":null,"topics":["android","cryptography","educational","hash","random"],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","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/edgarogh.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":"2018-05-05T14:27:09.000Z","updated_at":"2024-06-08T17:47:45.000Z","dependencies_parsed_at":"2023-03-07T04:45:48.713Z","dependency_job_id":null,"html_url":"https://github.com/edgarogh/Camerash","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/edgarogh%2FCamerash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgarogh%2FCamerash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgarogh%2FCamerash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgarogh%2FCamerash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edgarogh","download_url":"https://codeload.github.com/edgarogh/Camerash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245978205,"owners_count":20703675,"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":["android","cryptography","educational","hash","random"],"created_at":"2024-10-08T11:04:37.424Z","updated_at":"2026-01-07T01:48:47.023Z","avatar_url":"https://github.com/edgarogh.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Camerash\n[![GitHub license](https://img.shields.io/github/license/MrAnima/Camerash.svg)](https://github.com/MrAnima/Camerash/blob/master/LICENSE)\n\u003e A simple app that creates randomness from camera frames\n\n![Screenshot](https://github.com/MrAnima/Camerash/blob/master/screenshot.jpg)\n\n## Motivations \u0026 Background\nIn France , for our equivalent to _A Levels_ or _High-School Degree_, one of the exam (TPE - \"Tutored Personal Work\"), consists of a group work on a specific subject, leading to an oral presentation. Me and my group decided to work on randomness, and among other experiments, like a [double pendulum](https://en.wikipedia.org/wiki/Double_pendulum), I made this app, to show how entropy could be created from a video feed. Given that videos are often influenced by a lot of factors, such as lighting, weather, moving objects or even noise from the camera sensor itself, it's safe to assume that the stream is extremely chaotic. For instance, Cloudflare [uses lava lamps](https://blog.cloudflare.com/lavarand-in-production-the-nitty-gritty-technical-details/) to produce unpredictable cryptographically-secure encryption keys.\n\n## How does it work ?\nThe camera of the phone captures a video. For each frame:\n*   The raw image is acquired as a byte array\n*   This byte array is hashed using `SHA1`\n*   We take the first byte of the digest and show it in a `TextView`\n*   We add all the other bytes to a graph that show the good distribution of numbers\n\n## Release History\n*   Be patient. I'm lazy.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgarogh%2Fcamerash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedgarogh%2Fcamerash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgarogh%2Fcamerash/lists"}