Skip to main content

Random

Random is a library with utilities to generate random data.

Functions​

randomUint8​

Generate a random uint8 number.

Output:

  • value (uint8): Is the random number.

randomUint16​

Generate a random uint16 number.

Output:

  • value (uint16): Is the random number.

randomUint32​

Generate a random uint32 number.

Output:

  • value (uint32): Is the random number.

randomUint64​

Generate a random uint64 number.

Output:

  • value (uint64): Is the random number.

randomUint128​

Generate a random uint128 number.

Output:

  • value (uint128): Is the random number.

randomUint256​

Generate a random uint256 number.

Output:

  • value (uint256): Is the random number.