(First of all: This question comes after a long day, I need to get home, and will look more into it tomorrow. Feel free to reply with a short “RTFM”.)
I’m building a small demo where a client will encrypt a value (EncryptedScalar), and the server will supply a privat value (ClearScalar), and compute a private* circuit on the values.
So, I want to do
serialized_args: bytes = client.encrypt(<client_int>).serialize()
on one side, and then (server side) append a ClearScalar to the resulting PublicArguments instance. How can I do that?
Having said that: I’m looking forward to a functional implementation of multiplication (or, equivalently, AND gates) between two ciphertexts. That would actually be … FHE, and my demo would be a lot richer for it!
*) I don’t expect the wash-and-rinse routine to be implemented yet, though