crypto_box_keypair static method

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

Implementation

static int crypto_box_keypair(Uint8List y, Uint8List x) {
  randombytes_array_len(x, 32);
  return crypto_scalarmult_base(y, x);
}