1.php代码<?php$iv_size=mcrypt_get_iv_size(MCRYPT_RIJNDAEL_128,MCRYPT_MODE_ECB);$iv=mcrypt_create_iv($iv_size,MCRYPT_RAND);$key='a16byteslongkey!a16byteslongkey!';$plaintext="iphone";$ciphertext=mcrypt_encrypt(MCRYPT_RIJNDAEL_128,$key,$plaintext...
查看全文