Wkii Blog

Happiness is Grasp now!

vuePress-theme-reco Wkii    2012 - 2022
Wkii Blog
Home
Category
  • DevOps
  • Docker
  • Git
  • Java
  • Kubernetes
  • Life
  • Nginx
  • Office
  • PHP
  • Tech
  • TradeTech
Tag
TimeLine
RSS (opens new window)
Github (opens new window)
Mirrors
  • wkii.net (opens new window)
  • github.io (opens new window)
GitHub (opens new window)

Wkii

24

文章

39

标签

    Home
    Category
    • DevOps
    • Docker
    • Git
    • Java
    • Kubernetes
    • Life
    • Nginx
    • Office
    • PHP
    • Tech
    • TradeTech
    Tag
    TimeLine
    RSS (opens new window)
    Github (opens new window)
    Mirrors
    • wkii.net (opens new window)
    • github.io (opens new window)
    GitHub (opens new window)

    Php Aes加密类

    vuePress-theme-reco Wkii    2012 - 2022

    Php Aes加密类

    Wkii 9/16/2013 AES

    今天写了一个php的AES加密类。适用于Yii的扩展。 如果不用在Yii框架中,把代码中

    Yii::app()->params\['encryptKey'\]
    
    1

    换成你对应的默认key就可以了。
    代码见github: https://github.com/wkii/utils/blob/master/Yii/extensions/PhpAes.php (opens new window)

    在 GitHub 上编辑此页 (opens new window)
    最后列新: Mon Jun 08 2020 17:14:40 GMT+0000