level

SecretKey.level
Shows the maximum level of a plaintext and a ciphertext that the secret key can encrypt and decrypt.
  • Output
    • level, int
from desilofhe import Engine

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