serialize Engine.serialize_lossy_bootstrap_key(lossy_bootstrap_key) Serializes a lossy bootstrap key. Input: LossyBootstrapKey Output: bytearray Examples from desilofhe import Engine engine = Engine(for_bootstrap=True) secret_key = engine.create_secret_key() lossy_bootstrap_key = engine.create_lossy_bootstrap_key(secret_key) serialized_lossy_bootstrap_key = engine.serialize_lossy_bootstrap_key( lossy_bootstrap_key )