privateBytes static method

Uint8List privateBytes(
  1. int length
)

length random bytes from the private DRBG (RAND_priv_bytes), meant for long-term secrets such as keys.

Implementation

static Uint8List privateBytes(int length) => _fill(length, private: true);