0

I want to encrypt data using PHP and store it in SQL database having a field in varchar and then decrypt in Node js and process it. What should be the encryption, I tried with openssl_encrypt but not able to decrypt in Node js tried with aes-js module.

Saveen
  • 4,120
  • 14
  • 38
  • 41

1 Answers1

0

Thanks, Luke for trying to help me I got the answer in another post in StackOverflow, I am sharing the link so, that if anyone facing this problem like me can reuse the code. Encrypt with PHP, Decrypt with Javascript (cryptojs)