signToSignature method
Signs the payload
with a private key and returns the obtained
signature.
Implementation
@override
Future<SignatureBase> signToSignature(List<int> payload) async {
return Bip32SigningKey(Uint8List.fromList(privateKey))
.sign(payload)
.signature;
}