摘要:
用这个加密:base64_encode ( string $data )<?php$str = 'This is an encoded string';echo base64_encode($str);?>用这个解密:base64_decode ( string $data [, bool $strict= false ] )<?php$str = 'VGhpcyBpcyBhbiBlbmNvZGVkIHN0cmluZw==';echo base64_decode($str);?> 阅读全文