scAdd method

  1. @override
BuBytes scAdd(
  1. List<int> a,
  2. List<int> b
)
override

Scalar addition mod n; both scalarLen bytes. Returns scalarLen bytes. Throws on invalid scalar.

Implementation

@override
BuBytes scAdd(List<int> a, List<int> b) =>
    _api.scAdd(a, b).unwrapOrThrowCryptoError();