String Function hash64()

function hash64(
$text, $len = 28
)

Description

Returns a hash of the input, in a URL-safe base-64 format. This is intended to be added to URLs for CSS or JavaScript file, to create a "cache killer".

Where You Can Use It

From Zenario 7.0.0 onwards.

Parameters

$text

The text to create a hash of.

$len

How long the output should be. The default value is 28, which is also the maximum length.