I am a professional developer with a mathematics background, but know next to nothing related to cryptography. I would like to know if the following scenario is even possible.
Let's say Alice and Bob each have a bitstring of length n. Alice sends her (encrypted) bitstring to a (maybe vulnerable) server where it is stored. Later, when Alice is no longer available, Bob computes the hamming distance between his bistring and Alice's, without learning its value. Additionally, Alice did not know of Bob beforehand.
I have been reading about secure function evaluation, oblivious transfer and others, but it seems that what I want to do is impossible. Is it really so ?