tuweni / org.apache.tuweni.bytes / Bytes32 / random

random

open static fun random(): Bytes32 (source)

Generate random bytes.

Return
A value containing random bytes.

open static fun random(generator: Random): Bytes32 (source)

Generate random bytes.

Parameters

generator - The generator for random bytes.

Return
A value containing random bytes.