tuweni / org.apache.tuweni.crypto.sodium / SecretBox / Key / random

random

static fun random(): Key! (source)

Generate a new key using a random generator.

Return
Key!: A randomly generated key.