serialized_nbytes

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

engine = Engine(use_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