randomKey static method

Uint8List randomKey()

Generates a random key for use with secret key encryption.

Implementation

static Uint8List randomKey() => Sodium.cryptoSecretboxKeygen();