Documentation · ViewHelper reference

XSD schema file | vhs master

Format / HashViewHelper

Hashes a string. /

  • Tag usage example

    <v:format.hash content="[mixed]" algorithm="'sha256'">
    	<!-- tag content - may be ignored! -->
    </v:format.hash>
  • Inline usage example

    {v:format.hash(content: [mixed], algorithm: ''sha256'')}

Arguments

Argument Description Type
algorithm

Hashing algorithm to use (see http://php.net/manual/en/function.hash-algos.php for details)

string
content

Content to hash

mixed
Required attribute

Revision history