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

random

open static fun random(): Bytes32! (source)

Generate random bytes.

Return
Bytes32!: A value containing random bytes.

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

Generate random bytes.

Parameters

generator - Random!: The generator for random bytes.

Return
Bytes32!: A value containing random bytes.