Ciphertext

class openfhe.Ciphertext

Bases: pybind11_object

Clone(self: openfhe.Ciphertext) openfhe.Ciphertext
GetLevel(self: openfhe.Ciphertext) int

Get the number of scalings performed.

Returns:

The level of the ciphertext.

Return type:

int

GetSlots(self: openfhe.Ciphertext) int
RemoveElement(self: openfhe.Ciphertext, arg0: int) None

Remove an element from the ciphertext inner vector given its index.

Parameters:

index (int) – The index of the element to remove.

SetLevel(self: openfhe.Ciphertext, level: int) None

Set the number of scalings.

Parameters:

level (int) – The level to set.

SetSlots(self: openfhe.Ciphertext, arg0: int) None