welcome spark
用户信息加密前:a:5:{s:3:"uid";i:10000;s:4:"name";s:5:"spark";s:5:"email";s:15:"spark@imooc.com";s:3:"sex";s:3:"man";s:3:"age";s:2:"18";}
Warning: mcrypt_encrypt() [function.mcrypt-encrypt]: Attempt to use an empty IV, which is NOT recommend in F:\APMServ-v5.2.6\APMServ5.2.6\www\htdocs\cookie.php on line 139
用户信息加密后:N6fsF+gD21rkTnAmIJeI/Imbzlze9Sz2tFD/3fxoUTMNFJSq4fg+jjHaGTrpkZTWWBPHHt4IJ2V7rJCfnA3wiicjRgffYVPqNcMq26o+NJ5rdiOwYkuWzdVNm+9FQTyimlQDl6zsKNhj1nRKkTnF2Cr7NcMyXejh6+ZtG0Y0Yek=
Warning: Cannot modify header information - headers already sent by (output started at F:\APMServ-v5.2.6\APMServ5.2.6\www\htdocs\cookie.php:133) in F:\APMServ-v5.2.6\APMServ5.2.6\www\htdocs\cookie.php on line 142
Warning: mcrypt_decrypt() [function.mcrypt-decrypt]: Attempt to use an empty IV, which is NOT recommend in F:\APMServ-v5.2.6\APMServ5.2.6\www\htdocs\cookie.php on line 145
解密后的用户信息:
array(5) { ["uid"]=> int(10000) ["name"]=> string(5) "spark" ["email"]=> string(15) "spark@imooc.com" ["sex"]=> string(3) "man" ["age"]=> string(2) "18" }