serialized_nbytes BootstrapKey.serialized_nbytes Shows the size of a bootstrap key when serialized. Output serialized_nbytes, int from desilofhe import Engine engine = Engine(use_bootstrap=True) secret_key = engine.create_secret_key() bootstrap_key = engine.create_bootstrap_key(secret_key) serialized_nbytes = bootstrap_key.serialized_nbytes