tuweni / org.apache.tuweni.crypto / SECP256K1 / KeyPair / random

random

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

Generate a new keypair. Entropy for the generation is drawn from SecureRandom.

Return
KeyPair!: A new keypair.