Documentation

Crypto::Random

Function

MemoryBuffer@ Crypto::Random(int length)

Generates cryptographically secure random bytes and returns the buffer.

int length

The number of bytes to generate.

Returns MemoryBuffer@