serialized_nbytes

BootstrapKey.serialized_nbytes
Shows the size of a bootstrap key when serialized.
  • Type:
    • int
from desilofhe import Engine

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