sign method
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,
);
}