hash

hash

(PHP 5 >= 5.1.2, PHP 7, PECL hash >= 1.1)

hashGenerate a hash value (message digest)

Description

string hash ( string $algo , string $data [, bool $raw_output = false ] )

Parameters

algo

Name of selected hashing algorithm (e.g. "md5", "sha256", "haval160,4", etc..)

data

Message to be hashed.

raw_output

When set to T