|
$this->load->library('encryption');
$this->load->library('encrypt');
var_dump($this->encrypt->encode('11111', 1));
echo '</br>';
$this->encryption->initialize(
array(
'cipher' => 'aes-256',
'mode' => 'CBC',
'key' => 1,
'base64' => true,
'hmac_digest' => null,
'hmac_key' => null
)
);
var_dump($this->encryption->encrypt('11111'));
怎样让他们结果一致 |
|