serialized_nbytes

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

engine = Engine(bootstrap=True)
secret_key = engine.create_secret_key()
small_bootstrap_key = engine.create_small_bootstrap_key(secret_key)
serialized_nbytes = small_bootstrap_key.serialized_nbytes