level

MatrixMultiplicationKey.level
Shows the maximum level of a ciphertext that the matrix multiplication key can support.
  • Type:
    • int
from desilofhe import Engine

engine = Engine(form="matrix")
secret_key = engine.create_secret_key()
matrix_multiplication_key = engine.create_matrix_multiplication_key(secret_key)
level = matrix_multiplication_key.level