{"id":22820150,"url":"https://github.com/kizzycode/crypto_api_osrandom","last_synced_at":"2025-03-30T23:16:35.386Z","repository":{"id":57613578,"uuid":"174841859","full_name":"KizzyCode/crypto_api_osrandom","owner":"KizzyCode","description":"An interface to the OS' secure random number generator for `crypto_api`","archived":false,"fork":false,"pushed_at":"2022-06-17T01:10:56.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-06T17:52:31.033Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/KizzyCode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE BSD 2-CLAUSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-10T15:23:11.000Z","updated_at":"2021-10-15T00:43:07.000Z","dependencies_parsed_at":"2022-09-05T15:23:39.057Z","dependency_job_id":null,"html_url":"https://github.com/KizzyCode/crypto_api_osrandom","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/KizzyCode%2Fcrypto_api_osrandom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KizzyCode%2Fcrypto_api_osrandom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KizzyCode%2Fcrypto_api_osrandom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KizzyCode%2Fcrypto_api_osrandom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KizzyCode","download_url":"https://codeload.github.com/KizzyCode/crypto_api_osrandom/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246390858,"owners_count":20769478,"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-12-12T15:16:41.598Z","updated_at":"2025-03-30T23:16:35.351Z","avatar_url":"https://github.com/KizzyCode.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![docs.rs](https://docs.rs/crypto_api_osrandom/badge.svg)](https://docs.rs/crypto_api_osrandom)\n[![License BSD-2-Clause](https://img.shields.io/badge/License-BSD--2--Clause-blue.svg)](https://opensource.org/licenses/BSD-2-Clause)\n[![License MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n[![crates.io](https://img.shields.io/crates/v/crypto_api_osrandom.svg)](https://crates.io/crates/crypto_api_osrandom)\n[![Download numbers](https://img.shields.io/crates/d/crypto_api_osrandom.svg)](https://crates.io/crates/crypto_api_osrandom)\n[![AppVeyor CI](https://ci.appveyor.com/api/projects/status/github/KizzyCode/crypto_api_osrandom?svg=true)](https://ci.appveyor.com/project/KizzyCode/crypto-api-osrandom)\n[![dependency status](https://deps.rs/crate/crypto_api_osrandom/0.2.0/status.svg)](https://deps.rs/crate/crypto_api_osrandom/0.2.0)\n\n\n# crypto_api_osrandom\nWelcome to `crypto_api_osrandom` 🎉\n\n\n## About\nThis crate implements access to your operating system's cryptographically secure random number\ngenerator via [`crypto_api`](https://github.com/KizzyCode/crypto_api).\n\n\n## APIs used\nThe following native APIs are used:\n - macOS/iOS: `SecRandomCopyBytes` from the security framework\n - FreeBSD/OpenBSD/NetBSD: `arc4random_buf` (which does not use ARC4 anymore but a secure PRF like\n   [ChaCha20](https://cr.yp.to/chacha.html))\n - Windows: `CryptGenRandom` with `PROV_RSA_FULL` as provider\n - Linux: `getrandom` for glibc versions \u003e= 2.25 or `/dev/urandom` for ancient distributions\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkizzycode%2Fcrypto_api_osrandom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkizzycode%2Fcrypto_api_osrandom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkizzycode%2Fcrypto_api_osrandom/lists"}