crypto_box_open static method

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

Implementation

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

  crypto_box_beforenm(k, y, x);

  return crypto_box_open_afternm(m, c, d, n, k);
}