signBytes static method

Future<Uint8List> signBytes(
  1. Uint8List message,
  2. String privateKey,
  3. String passphrase, {
  4. KeyOptions? options,
})

Implementation

static Future<Uint8List> signBytes(
    Uint8List message, String privateKey, String passphrase,
    {KeyOptions? options}) async {
  var requestBuilder = model.SignBytesRequestObjectBuilder(
    message: message,
    passphrase: passphrase,
    privateKey: privateKey,
    options: _keyOptionsBuilder(options),
  );

  return await _bytesResponse("signBytes", requestBuilder.toBytes());
}