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!

  • shifty51@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    arrow-down
    2
    ·
    6 months ago

    Why do I feel like I am reading the synopsis for your year end project? Alice and Bob (and eve, that’s you) is an old scenario used in school. If that’s the case go back and watch your lectures, study with friends. Do not try and use chatgpt because other professors will see through that too. Bon chance, Aimee.

    • payasson@jlai.luOP
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      6 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.