Hello,
I am currently familiarizing myself with the openfhe library. I have set the parameters, entered the value of x1, and then encoded and encrypted it.
Finally, I attempted to use the serialization function on x1, c1, and the public key. However, I must admit that I didn’t fully comprehend the output of each one (except for x1).
Is there any documentation available or an explanation of the values returned?
As far as I know, we do not, no. At the end of the day, the serialization output really is just that - an output that allows us to save/ restore results. We use the cereal library which also does quite a bit of work for us, so it’s not as if we are explicitly writing out the serialization/ deserialization structures
The high-level idea is that object data members for various classes that implement the Serializable interface/abstract class are included in the serialized representation using load / save methods. The easiest way is to look at the implementation of these classes and read the comments in the code. On top of this, cereal adds a JSON-like data structure which one can see in the serialization files.