randomKey static method

Uint8List randomKey()

Generates a random key for use with the ChaCha20-Poly1305 construction.

Implementation

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