The inverse of fhe_serialize() with filename = NULL.
Usage
fhe_deserialize_string(
data,
type = c("CryptoContext", "PublicKey", "PrivateKey", "Ciphertext", "EvalKey",
"EvalKeyMap", "EvalKeyVector"),
format = NULL
)Arguments
- data
A raw vector (binary format) or a character string (JSON), as
fhe_serialize()returns.- type
One of
"CryptoContext","PublicKey","PrivateKey","Ciphertext","EvalKey","EvalKeyMap", or"EvalKeyVector"for a serialized list ofEvalKeyobjects.- format
NULL(default) to take the format fromdata, or"binary"or"json", which must then agree withdata.
