
Cryptographically secure random bytes (libsodium)
Source:R/crypto_sym.R
morie_crypto_random_bytes.RdPhase 3JJJ1. Wraps libsodium's randombytes_buf.
Examples
if (morie_crypto_sodium_available()) {
r <- morie_crypto_random_bytes(32L)
length(r)
}
#> [1] 32