level

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

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