{"id":20303880,"url":"https://github.com/billstclair/elm-dev-random","last_synced_at":"2026-02-26T06:55:40.970Z","repository":{"id":62418374,"uuid":"83493019","full_name":"billstclair/elm-dev-random","owner":"billstclair","description":"Cryptographically secure random number generation for Elm","archived":false,"fork":false,"pushed_at":"2025-03-02T13:39:19.000Z","size":403,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-02T19:43:04.904Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://diceware.ninja","language":"Elm","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/billstclair.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":"2017-03-01T00:24:50.000Z","updated_at":"2025-03-02T13:39:23.000Z","dependencies_parsed_at":"2024-11-14T16:42:25.133Z","dependency_job_id":"0aa60188-73be-4c03-8ba8-17abc4342e39","html_url":"https://github.com/billstclair/elm-dev-random","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billstclair%2Felm-dev-random","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billstclair%2Felm-dev-random/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billstclair%2Felm-dev-random/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billstclair%2Felm-dev-random/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/billstclair","download_url":"https://codeload.github.com/billstclair/elm-dev-random/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241801257,"owners_count":20022389,"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":[],"created_at":"2024-11-14T16:41:31.974Z","updated_at":"2026-02-26T06:55:35.937Z","avatar_url":"https://github.com/billstclair.png","language":"Elm","funding_links":[],"categories":[],"sub_categories":[],"readme":"The [billstclair/elm-dev-random](http://package.elm-lang.org/packages/billstclair/elm-dev-random/latest) package provides cryptographically secure random number generation via JavaScript's `window.crypto.getRandomValues()` function.\n\nAs of version 2.0.0, the `PortFunnel.DevRandom` module uses [billstclair/elm-port-funnel](http://package.elm-lang.org/packages/billstclair/elm-port-funnel/latest) to share a pair of ports with other port modules. This implies a fairly major change to clients.\n\nIf you want to continue to use the earlier `DevRandom` port setup, use version 1.1.6 for Elm 0.19 or 1.1.5 for Elm 0.18.\n\nThe `PortFunnel.DevRandom` module contains a pure Elm API, using the standard Elm `Random` module. If you follow the directions in the README for the [`example` directory](https://github.com/billstclair/elm-dev-random/tree/master/example), you can use the `getRandomValue()` mechanism instead.\n\nThe package name is a reflection of `/dev/random`, the OS-provided cryptographically-secure random number generator for Unix-like systems (e.g. Linux and MacOS).\n\nBill St. Clair \u0026lt;billstclair@gmail.com\u0026gt; --\n28 February 2017\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbillstclair%2Felm-dev-random","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbillstclair%2Felm-dev-random","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbillstclair%2Felm-dev-random/lists"}