Hey! I program a lot but I’m not very good with cybersecurity and stuff, although I have a basic usage of GPG and asymetrical encryption.

My problem is:

Let’s imagine that Alice (A) and Bob (B) each have a file with a number written in it.

Ideally, I’d like a program that A can run on her computer that would take the B file but encrypted, and output the minimum of the two values contained in A and B files.

But without any way for A to know what the number of B is, except if B value is the minimum, obviously.

Can someone help me with that? Thank you for reading!

  • payassonOP
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    11 months ago

    That comment is neither helpful nor interesting criticism. It’s not even pleasant to read.

    • I don’t understand why you say I’m Eve.
    • I don’t have any formation in cybersecurity, so no “lectures to go back and watch”
    • It’s not even a school project of any sort
    • I was not planning on asking chatGPT, but I’m sure its answer would actually be more helpful for my problem than your comment

    I used Alice and Bob because I read stuff with this scenario and liked it, that’s all…

    Maybe you thought that warning/advice would be helpful, but for me at least, it just sounds very paternalistic.