\Phug\UtilHasher

Summary

Methods
Properties
Constants
__construct()
hash()
No public properties found
No constants found
No protected methods found
$input
N/A
getMdAndShaAlgorithms()
getPrefixLength()
No private properties found
N/A

Properties

$input

$input : string

Input string to hash.

Type

string

Methods

__construct()

__construct(  $input) 

Parameters

$input

hash()

hash() : string

Return a hashed print for the current input file or content.

Returns

string

getMdAndShaAlgorithms()

getMdAndShaAlgorithms(  $algorithms) 

Parameters

$algorithms

getPrefixLength()

getPrefixLength(  $hashAlgorithm) 

Parameters

$hashAlgorithm