crypto.rand #

fn int_u64 #

fn int_u64(max u64) ?u64

int_u64 returns a random unsigned 64-bit integer u64 read from a real OS source of entropy.

fn read #

fn read(bytes_needed int) ?[]byte

read returns an array of bytes_needed random bytes read from the OS.