• dracs
    link
    fedilink
    English
    arrow-up
    2
    ·
    7 months ago

    It’s been a while since I’ve had to touch it too. But couldn’t Alice provide Charlie with both the plain text and her public key. Charlie could then encrypt the text and see it came out the same as blob Bob sent Alice?

    • chiisana@lemmy.chiisana.net
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 months ago

      I think this might work, I haven’t done it for too long to know for certain if two same plain text encrypted with two same public key would yield two identical encrypted blobs.

      I’ve self replied another possible implementation, that I’m pretty proud of figuring out literally 1AM. If you have time, please do give it a glance and see if you can spot any weakness.