sha512 Twig Filter plugin for Craft CMS 3.x

A simple filter for twig to hash a string with sha512.

Acknowledgements

Based on the MD5 Twig filter from Steadfast Collective.

Requirements

This plugin requires Craft CMS 3.0.0-beta.23 or later.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
    
  2. Then tell Composer to load the plugin:

     composer require christopherdowson/sha512twigfilter
    
  3. 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

Installation Instructions

To install this plugin, copy the command above to your terminal.

Reviews

This plugin doesn't have any reviews.

Active Installs
5
Version
4.0.4
License
MIT
Compatibility
Craft 3, Craft 4
Last release
August 10, 2022
Categories
Activity (30 days)
0
Closed Issues
0
Open Issues
0
Merged PRs
0
Open PRs