<nnt3:encrypt.hash />

Generates a hash from a string or number.


Helpful if, for example, a mail is to be sent with confirmation link.

The UID of the record is also passed as a hash. The controller then checks üft, whether the hash can be generated from the uid If not, the uid has been tampered with.

<f:link.action action="validate" arguments="{uid:uid, checksum:'{uid->nnt3:encrypt.hash()}'}">
@return string