mcrypt_decrypt() 方法不适用于 PHP 7.2 版。 那么,如何使用 PHP 解密加密的 JSON 数据? 这是我当前的代码。但是,它现在不起作用。
$result = 'encrypted string';
$key = substr(str_pad($UCPassword, 8, " "), 0, 8);
$jsonResult = mcrypt_decrypt(MCRYPT_DES, $key, base64_decode($result), MCRYPT_MODE_CBC, $IV);