create_bootstrap_key

Engine.create_bootstrap_key(secret_key, size="medium")
Creates a bootstrap key for bootstrapping. Requires a secret key. The bootstrap key consists of the fixed roll keys used in bootstrapping.
  • Input:
    • SecretKey
    • size: str, optional
      • Only "medium" is currently supported.
  • Output:
    • BootstrapKey

Warning

  • The matrix form does not yet support this operation.
from desilofhe import Engine

engine = Engine(bootstrap=True)
secret_key = engine.create_secret_key()
bootstrap_key = engine.create_bootstrap_key(secret_key)