scSub method

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

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

Implementation

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