If I have Device A, Device B and Server, how can I achieve a secure transfer of information between the two devices?
I want to encrypt plain text on Device A, send it to the server, which will reroute it to Device B, which will decrypt the message. I haven't found many examples of this online. I was able to fiddle around with Node's crypto, but that is useless to me because it's server side. I'm using socket io and any initial connection that would send out any keys is a vulnerability. I am unable to use HTTPS or WSS.
What are my options here?