Home > Database > Mysql Tutorial > Php Aes加密类

Php Aes加密类

WBOY
Release: 2016-06-07 16:38:45
Original
1074 people have browsed it

今天写了一个php的AES加密类。适用于Yii的扩展。 如果不用在Yii框架中,把代码中Yii::app()-params['encryptKey'] 换成你对应的默认key就可以了。 代码见github: https://github.com/wkii/utils/blob/master/Yii/extensions/PhpAes.php 原文地址:Php Aes加

今天写了一个php的AES加密类。适用于Yii的扩展。

如果不用在Yii框架中,把代码中Yii::app()->params['encryptKey'] 换成你对应的默认key就可以了。

代码见github:

https://github.com/wkii/utils/blob/master/Yii/extensions/PhpAes.php

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template