steadfastcollective/md5-twig-filter
Composer 安装命令:
composer require steadfastcollective/md5-twig-filter
包简介
A filter for twig to hash a string with MD5
README 文档
README
A simple filter for twig to hash a string with MD5.
IMPORTANT! Do not use md5 to hash passwords or other sensitive data, MD5 is considered crytographically broken.
Requirements
This plugin requires Craft CMS 3.0.0-beta.23 or later.
Installation
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project -
Then tell Composer to load the plugin:
composer require steadfastcollective/md5-twig-filter -
In the Control Panel, go to Settings → Plugins and click the “Install” button for MD5 Twig Filter.
Using MD5 Twig Filter
{{ md5("some string" }}
{{ "some string" | md5 }}
Brought to you by Steadfast Collective
统计信息
- 总下载量: 11.3k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-06-05