sign method

Future<Signature> sign (
  1. List<int> data
)

Returns a Future that resolves to the result of signing data with the private key held internally by a given instance

Implementation

Future<Signature> sign(List<int> data) {
  return ed25519.sign(data, _keyPair);
}