cryptoBox method

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

Implementation

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

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

  cryptoBoxBeforenm(k, y, x);
  return cryptoBoxAfternm(c, m, d, n, k);
}