cryptorng
0.1.4Access System Cryptographic Pseudorandom Number Generators
Overview
Generate random numbers from the Cryptographically Secure Pseudorandom Number Generator (CSPRNG) provided by the underlying operating system. System CSPRNGs are seeded internally by the OS with entropy it gathers from the system hardware. The following system functions are used: arc4random_buf() on macOS and BSD; BCryptgenRandom() on Windows; Sys_getrandom() on Linux.
Install
Health
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Downloads
Repository
Stars over time
Dependencies
Nothing depends on this yet.
Code & Tests
- Cyclomatic complexity
- 1.0 median / 1 max
- Test cases
- 4 / 0.86 per code line
- Documented parameters
- 100%
Test coverage
Line coverage
–
Expression
–
Tests / Examples
–
Functions
9 1 exported
Complexity
1 avg / 1 max
Call network
9 nodes / 11 edges
Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.
Call graph
Open call graph →Lowest coverage
Per-function coverage is not measured for this package yet.
People & History
3 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.1.4Latest
- 0.1.32024-05-30 · diff ↗
- 0.1.22024-04-28
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2024-04-28
- Total releases
- 3 / 2 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 5.6 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet