tuweni / org.apache.tuweni.bytes / Bytes48 / random

random

open static fun random(): Bytes48 (source)

Generate random bytes.

Return
A value containing random bytes.

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

Generate random bytes.

Parameters

generator - The generator for random bytes.

Return
A value containing random bytes.