Deserialize an OpenFHE object from file
fhe_deserialize(
filename,
type = c("CryptoContext", "PublicKey", "PrivateKey", "Ciphertext", "EvalKey",
"EvalKeyMap", "BinFHEContext", "LWECiphertext", "LWEPrivateKey", "LWEPublicKey",
"RingGSWBTKey"),
format = "binary"
)The deserialized object
Path to serialized file
One of "CryptoContext", "PublicKey", "PrivateKey",
"Ciphertext", "EvalKey", "EvalKeyMap", or, for Binary FHE,
"BinFHEContext", "LWECiphertext", "LWEPrivateKey",
"LWEPublicKey", "RingGSWBTKey".
"binary" (default) or "json"
fhe_deserialize_string() for data held in memory.