Writes an object to a file, or, with filename = NULL, returns its
serialized form: a raw vector for the binary format and a character
string for JSON.
Usage
fhe_serialize(x, ...)
Value
With a file name, TRUE invisibly. Otherwise a raw vector
(format = "binary") or a character string (format = "json").
Arguments
x
A CryptoContext, PublicKey, PrivateKey, Ciphertext,
EvalKey or EvalKeyMap, or a list of EvalKey objects (in
memory only). For Binary FHE, a BinFHEContext, LWECiphertext,
LWEPrivateKey, LWEPublicKey or RingGSWBTKey (to a file
only).
...
Method arguments: filename, a path, or NULL (default)
to serialize in memory; format, "binary" (default) or
"json".