0

I have JSON which I have AES encrypt with a secret on Node backend and send it to my React frontend. When I try to decrypt it on the frontend I get an error

"Malformed Utf-8" data error

When the encryption/decryption in their own respective boundaries works as expected. But when I try to make it a cross-platform thing then it fails. So what is the issue here?

Michael Nelles
  • 4,415
  • 8
  • 33
  • 47

0 Answers0