crypto_box_beforenm static method
Implementation
static Uint8List crypto_box_beforenm(Uint8List k, Uint8List y, Uint8List x) {
final s = Uint8List(32);
crypto_scalarmult(s, x, y);
final res = crypto_core_hsalsa20(k, _0, s, _sigma);
return res;
}