randomSecretKey static method

Uint8List randomSecretKey()

Generates a random secret key.

Implementation

static Uint8List randomSecretKey() =>
    Sodium.randombytesBuf(Sodium.cryptoScalarmultScalarbytes);