PsaGenerateRandom
Generate a vector of random bytes. Opcode: 13 (0x000D)
Parameters
| Name | Type | Description |
|---|---|---|
size | usize | The number of random bytes to generate |
Results
| Name | Type | Description |
|---|---|---|
random_bytes | Vector of unsigned bytes | The 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
Copyright 2020 Contributors to the Parsec project.