PsaGenerateRandom

Generate a vector of random bytes. Opcode: 13 (0x000D)

Parameters

NameTypeDescription
sizeusizeThe number of random bytes to generate

Results

NameTypeDescription
random_bytesVector of unsigned bytesThe randomly generated bytes

Specific response status codes

No specific response status codes returned.

Description

The bytes are generated using a cryptographically secure random number generator.

Contract

Protobuf

Copyright 2020 Contributors to the Parsec project.