create_conjugation_key

Engine.create_conjugation_key(secret_key, level)
Creates a conjugation key, which is used for complex conjugation. Requires a secret key.
  • Input
    • SecretKey
    • level: optional
      • Creates the key with a reduced size to contain only the specified multiplication levels.
  • Output
    • ConjuzationKey
from desilofhe import Engine

engine = Engine()
secret_key = engine.create_secret_key()
conjugation_key = engine.create_conjugation_key(secret_key)

level_3_conjugation_key = engine.create_conjugation_key(secret_key, level=3)