randomKeys static method

KeyPair randomKeys()

Generates a random key for use with public-key signatures.

Implementation

static KeyPair randomKeys() => Sodium.cryptoSignKeypair();