PHPackages                             lyhiving/aes - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. lyhiving/aes

ActiveLibrary[Security](/categories/security)

lyhiving/aes
============

PHP AES encryption

1.0.0(7y ago)2141MITPHPPHP &gt;=5.4

Since Jul 19Pushed 7y ago1 watchersCompare

[ Source](https://github.com/lyhiving/aes)[ Packagist](https://packagist.org/packages/lyhiving/aes)[ Docs](https://github.com/lyhiving/aes)[ RSS](/packages/lyhiving-aes/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

AES encryption
==============

[](#aes-encryption)

php aes加解密简单应用。

PHP与JS通信对称加解密通道
---------------

[](#php与js通信对称加解密通道)

可见的问题，一旦JS端泄露密钥，这个加解密的就不是那么好玩了。不过作为�一个不错的加密通信方式，比明文要强一点。速度也是杠杠的。

安装
--

[](#安装)

使用 Composer

```
{
    "require": {
            "lyhiving/aes": "1.0.*"
    }
}
```

用法
--

[](#用法)

```
