sign method

  1. @override
Future<List<int>> sign(
  1. List<int> data
)
override

Implementation

@override
Future<List<int>> sign(List<int> data) async {
  final signature = await Ed25519().sign(data, keyPair: _keyPair);
  return signature.bytes;
}