cryptorng: Access System Cryptographic Pseudorandom Number Generators

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.

Version: 0.1.4
Suggests: testthat (≥ 3.0.0)
Published: 2024-06-02
DOI: 10.32614/CRAN.package.cryptorng
Author: Mike Cheng [aut, cre, cph]
Maintainer: Mike Cheng <mikefc at>
License: MIT + file LICENSE
NeedsCompilation: yes
Materials: NEWS
CRAN checks: cryptorng results


Reference manual: cryptorng.pdf


Package source: cryptorng_0.1.4.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): cryptorng_0.1.4.tgz, r-oldrel (arm64): cryptorng_0.1.4.tgz, r-release (x86_64): cryptorng_0.1.4.tgz, r-oldrel (x86_64): cryptorng_0.1.4.tgz
Old sources: cryptorng archive


Please use the canonical form to link to this page.