level

PublicKey.level
Shows the maximum level of a plaintext that the public key can encrypt.
  • Output
    • level, int
from desilofhe import Engine

engine = Engine()
secret_key = engine.create_secret_key()
public_key = engine.create_public_key(secret_key)

level = public_key.level