crypto_box_keypair static method

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

Implementation

static Uint8List crypto_box_keypair(Uint8List y, Uint8List x) {
  x = _randombytes_array(x);
  return crypto_scalarmult_base(y, x);
}