cryptoBoxKeypair static method

int cryptoBoxKeypair(
  1. Uint8List y,
  2. Uint8List x
)

Implementation

static int cryptoBoxKeypair(Uint8List y, Uint8List x) {
  randombytesArrayLen(x, 32);
  return cryptoScalarmultBase(y, x);
}