magickEncipherImage method

Future<bool> magickEncipherImage(
  1. String passphrase
)

MagickEncipherImage() converts plaint pixels to cipher pixels.

This method runs inside an isolate different from the main isolate.

  • passphrase: the passphrase

Implementation

Future<bool> magickEncipherImage(String passphrase) async =>
    await _magickCompute(
      _magickEncipherImage,
      _MagickEncipherImageParams(_wandPtr.address, passphrase),
    );