wolverineo250kr/yii2-pevnev-security-helper
Composer 安装命令:
composer require wolverineo250kr/yii2-pevnev-security-helper
包简介
Security helper based on Yii2 framework. Returns an encoded string by key, aveliable to be used as a GET parameter.
README 文档
README
Description
Based on Yii2 security function encryptByKey, this helper returns an encoded string aveliable to be used as a GET parameter.Install
composer require "wolverineo250kr/yii2-pevnev-security-helper":"v1.0.4"Usage
To encode string call in your Yii2 app following php command with your encryption key:\wolverineo250kr\helpers\security\SecurityHelper::encodeStringByKey('Your string', 'yourKey');
To decode string call in your Yii2 app following php command with your encryption key:
\wolverineo250kr\helpers\security\SecurityHelper::decodeStringByKey('5arqQR_W4GYzB5uIwNDUfDg4YTcyZjFiMzg3OTQwN2YzOTRjMTEzODlmODVjZjIxOGQ0ODUzZDNhNmEyODg3MDA3OGZiMzZkZDhkMGVhNjD9yDn2R8FySgjbfIzuISO3miPmWLSBFz7f0wWMbrNYRw', 'yourKey');
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-03-10