bufferDeterministic static method

Uint8List bufferDeterministic(
  1. int size,
  2. Uint8List seed
)

Generates a sequence of bytes of specified size. For a given seed, this function will always output the same sequence.

Implementation

static Uint8List bufferDeterministic(int size, Uint8List seed) =>
    Sodium.randombytesBufDeterministic(size, seed);