$decrypted = Crypto::aes128cbcDecrypt($key, $encrypted);$this->assertEquals($decrypted, $string); } 开发者ID:ahmedadham88,项目名称:enhanced-social-network,代码行数:11,代码来源:CryptoTest.php 示例3: decrypt ▲点赞 5▼ publicstaticfunctiondecrypt($key, $text){if(extension_loaded('mcrypt')) ...