scNeg method

  1. @override
BuBytes scNeg(
  1. List<int> s
)
override

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

Implementation

@override
BuBytes scNeg(List<int> s) => _api.scNeg(s).unwrapOrThrowCryptoError();