signBytes abstract method

Future<Uint8List> signBytes(
  1. List<int> data,
  2. Hash hash
)

TODO: Document that this returns the raw signature format specified in the webcrypto specification. Which is R + S as two raw big endian integers zero padded to fill N bytes. Where N is the number of bytes required to encode the order of the base points of the curve.

Implementation

Future<Uint8List> signBytes(List<int> data, Hash hash);