hash modifier


1Presentation

This Smarty modifier generates the digital fingerprint (hash value) of a piece of data.


2Usage

This modifier takes one optional parameter:

Here is an example:

<img src="https://gravatar.com/avatar/{$currentUser.email|hash:'sha256'}?s=36&amp;d=mp">