$decrypted = mcrypt_decrypt(MCRYPT_RIJNDAEL_128, $key, $data, MCRYPT_MODE_ECB); $decrypted = openssl_decrypt($data, 'AES-128-ECB', $key, OPENSSL_RAW_DATA); 来源:oschina链接:https://my.oschina.net/andyhua/blog/3454009 标签 OpenSSL mcrypt php