create_secret_key

Engine.create_secret_key(level)
Creates a secret key.
  • Input
    • level: optional
      • Creates the key with a reduced size to contain only the specified multiplication levels.
  • Output
    • SecretKey
from desilofhe import Engine

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

level_3_secret_key = engine.create_secret_key(level=3)