DEV Community

Discussion on: Message Encryption in JavaScript and PHP

brzuchal profile image
Michał Brzuchalski

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

paragoniescott profile image
Scott Arciszewski Author

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