Pyro

A dynamically-typed, garbage-collected scripting language.

Version 0.19.2

std::csrng


This module contains utilities for generating cryptographically-secure random numbers.

Functions

rand_bytes(n: i64) -> buf

Returns a buffer containing n random bytes from the operating system's source of cryptographically-secure random numbers.

rand_i64() -> i64

Returns a random i64 value generated using the operating system's source of cryptographically-secure random numbers.