christopherdowson/sha512twigfilter
Composer 安装命令:
composer require christopherdowson/sha512twigfilter
包简介
A filter for twig to hash a string with sha512
README 文档
README
A simple filter for twig to hash a string with sha512.
Acknowledgements
Based on the MD5 Twig filter from Steadfast Collective. https://packagist.org/packages/steadfastcollective/md5-twig-filter
Requirements
This plugin requires Craft CMS 3.X/4.x 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 christopherdowson/sha512twigfilter -
In the Control Panel, go to Settings → Plugins and click the “Install” button for sha512 Twig Filter.
Using sha512 Twig Filter
{{ sha512("some string" }}
{{ "some string" | sha512 }}
Brought to you by Christopher Dowson
SHA512TwigFilter
统计信息
- 总下载量: 438
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-06-17