level

RotationKey.level
Shows the maximum level of a ciphertext that the rotation key can rotate.
  • Type:
    • int
from desilofhe import Engine

engine = Engine()
secret_key = engine.create_secret_key()
rotation_key = engine.create_rotation_key(secret_key)
level = rotation_key.level