multiplyPlain method

Ciphertext multiplyPlain(
  1. Ciphertext a,
  2. Plaintext b
)

Multiplies a Ciphertext by a Plaintext.

Implementation

Ciphertext multiplyPlain(Ciphertext a, Plaintext b) {
  Pointer ptr = _c_multiply_plain(library, a.obj, b.obj);
  raiseForStatus();
  return Ciphertext.fromPointer(backend, ptr);
}