Score:0

Combining decryption function with transformation in a way that can't be reversed

ee flag

I have a program implementing a function $f$, and want to find a pair of functions $e$ and $h$ such that $h \circ e = f$, but $e^{-1}$ cannot be recovered from $h$.

In other words, given some $e$-encrypted data, $h$ decrypts it and applies $f$. Knowing $h$ doesn't allow me to get back the unencrypted data, but rather only the result of $f$ applied to the unencrypted data.

poncho avatar
my flag
What you're asking is unclear - when I try to interpret it, what I get from the first paragraph appears to be contradicted by what's in the second. Perhaps you could clarify your question? BTW: are you asking about 'data security' (given the output $f(x)$, it is hard to compute...' or 'program objuscation' (for example: given a description of $f$ and $h$ is hard to write the program that computes $e^{-1}$?)
James avatar
ee flag
Obfuscation. I basically want to combine the decryption function $e^{-1}$ and program $f$ in a way that the decryption function can't be separated from it.
Command Master avatar
in flag
The problem as you stated it is trivially solved by $h(x)=x, e(x)=f(x)$. Even if you want $e$ to be invertible with a key you can do $e_k(x) = (\text{Enc}_k(x), f(x))$ and $h((c, x)) = x$.
Score:0
br flag

I believe you are describing Functional Encryption. I'm not very familiar with the literature, but the linked Wikipedia page and a search on ePrint might be good starting points.

I sit in a Tesla and translated this thread with Ai:

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.