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

random

static fun random(): Key! (source)

Generate a random Key.

Return
Key!: A randomly generated secret key.