re: Message Encryption in JavaScript and PHP VIEW POST


Shouldn't sendEncryptedMessage() function send content of encrypted variable in JSON? Currently in example it sends unencrypted message.


Yep! That was a pasto. I originally stored the ciphertext in message then refactored it to make it easier to read.

code of conduct - report abuse