crypto_box method

int crypto_box(
  1. Uint8List c,
  2. Uint8List m,
  3. int d,
  4. Uint8List n,
  5. Uint8List y,
  6. Uint8List x,
)

Implementation

int crypto_box(Uint8List c, Uint8List m, int /*long*/ d, Uint8List n,
    Uint8List y, Uint8List x) {
  Uint8List k = Uint8List(32);

  ///L/og.d(TAG, "crypto_box start ...");

  crypto_box_beforenm(k, y, x);
  return crypto_box_afternm(c, m, d, n, k);
}