摘要: <?php function aes128cbcEncrypt($key, $text) { /* Open the cipher */ $td = mcrypt_module_open(MCRYPT_RIJNDAEL_128, '', MCRYPT_MODE_CBC, ''); if (! $td) { throw new GeneralSecurityException('Invalid mcrypt cipher, check your libmcrypt library and php-mcrypt extention'); } / 阅读全文
posted @ 2010-09-26 14:04 MultiThread-PHP 阅读(3026) 评论(0) 推荐(0) 编辑