{"id":21768256,"url":"https://github.com/averms/xp-getentropy","last_synced_at":"2025-03-21T05:44:10.827Z","repository":{"id":114684015,"uuid":"318662075","full_name":"averms/xp-getentropy","owner":"averms","description":"Cross-platform getentropy.","archived":false,"fork":false,"pushed_at":"2020-12-29T01:00:34.000Z","size":88,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T02:44:28.755Z","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":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/averms.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":"2020-12-04T23:51:37.000Z","updated_at":"2021-09-22T16:19:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"2b12ac09-b9c4-4f45-8b2f-4e295af98b24","html_url":"https://github.com/averms/xp-getentropy","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/averms%2Fxp-getentropy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/averms%2Fxp-getentropy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/averms%2Fxp-getentropy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/averms%2Fxp-getentropy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/averms","download_url":"https://codeload.github.com/averms/xp-getentropy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244745720,"owners_count":20503048,"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-26T13:35:06.630Z","updated_at":"2025-03-21T05:44:10.820Z","avatar_url":"https://github.com/averms.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# getentropy cross-platform\n\n[![builds.sr.ht status](https://builds.sr.ht/~aman/xp-getentropy.svg)](https://builds.sr.ht/~aman/xp-getentropy?)\n[![GitHub Actions status](https://github.com/averms/xp-getentropy/workflows/GitHub%20CI/badge.svg)](https://github.com/averms/xp-getentropy/actions)\n[![Appveyor status](https://ci.appveyor.com/api/projects/status/75kw22knil3leahx?svg=true)](https://ci.appveyor.com/project/ayofloweshiou/xp-getentropy)\n\nA cross-platform way to get cryptographically-secure random bytes.\n\n**Fortunately, this library has been obsoleted by [POSIX\n2024](https://pubs.opengroup.org/onlinepubs/9799919799/functions/getentropy.html)**.\n\n## usage\n\nThere is a single function, `xp_getentropy`. It is documented in the header\nfile [`xp_gentropy.h`](include/xp_getentropy.h).\n\n## platforms\n\nShould work on any platform with a C99 compiler.\nTested on:\n\n- Various Linux distros from kernel 3.10 up to 5.4\n- FreeBSD 11.4 and 12.2\n- OpenBSD 6.7\n- NetBSD 9.1\n- DragonflyBSD 5.8.3\n- macOS 10.14, 10.15, and 11\n- OpenIndiana Hipster 2020.10\n- Windows Server 2019 with MSVC 16.8\n- Windows Server 2016 with MSVC 15.9\n- Cygwin 3.0.7\n- Emscripten 2.0.10 (not WASM, just the JS output)\n\n## legal\n\nParts are copied from LibreSSL Portable under the ISC license. Parts that I\nwrote are also distributed under the ISC license. See [LICENSE](LICENSE) file\nfor details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faverms%2Fxp-getentropy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faverms%2Fxp-getentropy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faverms%2Fxp-getentropy/lists"}