Encrypt msg payload

Hi.

I'm doing an Http 'put' into my NodeRed app. The source is JavaScript on an html page. I've encrypted the 'body' with Crypto-JS, but now I see that's pretty old and has some vulnerabilities. Is there another encryption method that can be implemented in client-side JavaScript, and decrypted in NodeRed?

I did some googling, but I'm not sure what I'm looking for.

Thanks.
Don

Use https then it will be encrypted automatically.

Colin, that would be the goal. Unfortunately, we don't have a cert on the Pi (complicated...), so we can't do https.

You can use DNS for issuing a cert.

Thanks. I'll check it out.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.