sign method

  1. @override
Future<Signature> sign(
  1. List<int> input, {
  2. required KeyPair keyPair,
})
override

Calculates signature for the message.

Implementation

@override
Future<Signature> sign(
  List<int> input, {
  required KeyPair keyPair,
}) async {
  final keyPairData = await keyPair.extract();
  return signSync(
    input,
    keyPairData: keyPairData,
  );
}