Score:0

Trouble extracting actual ciphertext (attribute "parts") from helib::Ctxt ciphertext

my flag

I'd like to access directly to the numbers composing the ciphertext Ctxt from HElib, but reading the documentation I don't seem to find anything that can help me.

I have an object Ctxt containing the ciphertext of a vector representing an encrypted image; I understand that the real ciphertext is stored in the attribute "parts" of the object, but there is no getter method to access this attribute.

I need these numbers in order to create a torch::Tensor and train a neural network, obviously there is no direct method to convert an object of type helib::Ctxt to a torch::Tensor.

What am I missing? Thanks in advance for the help.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.