Why is openssl_decrypt adding escape slashes to the outputted data?

后端 未结 0 1556
既然无缘
既然无缘 2021-01-20 17:03

I\'m using openssl_encrypt to encrypt some JSON data before inserting it into an SQL DB.

$cypherMethod = \'AES-256-CBC\';
$key = \'WHATEVER\';

// Then we gen         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题