square method

Ciphertext square(
  1. Ciphertext a
)

Squares the Ciphertext.

Implementation

Ciphertext square(Ciphertext a) {
  Pointer ptr = _c_square(library, a.obj);
  raiseForStatus();
  return Ciphertext.fromPointer(backend, ptr);
}