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.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("cryptorng")

0.1.4 by Mike Cheng, 2 years ago


https://github.com/coolbutuseless/cryptorng


Report a bug at https://github.com/coolbutuseless/cryptorng/issues


Browse source code at https://github.com/cran/cryptorng


Authors: Mike Cheng [aut, cre, cph]


Documentation:   PDF Manual  


MIT + file LICENSE license


Suggests testthat


See at CRAN