hash

(PHP 5 >= 5.1.2, PHP 7, PECL hash >= 1.1) Generate a hash value (message digest) 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

hash_update

(PHP 5 >= 5.1.2, PHP 7, PECL hash >= 1.1) Pump data into an active hashing context bool hash_update ( resource $context, string $data ) Parameters: context Hashing context returned by hash_init(). data Message to be included in the hash digest. Returns: Returns TRUE.

hash_update_stream

(PHP 5 >= 5.1.2, PHP 7, PECL hash >= 1.1) Pump data into an active hashing context from an open stream int hash_update_stream ( resource $context, resource $handle [, int $length = -1 ] ) Parameters: context Hashing context returned by hash_init(). handle Open file handle as returned by any stream creation function.

hash_update_file

(PHP 5 >= 5.1.2, PHP 7, PECL hash >= 1.1) Pump data into an active hashing context from a file bool hash_update_file ( resource $hcontext, string $filename [, resource $scontext = NULL ] ) Parameters: hcontext Hashing context returned by hash_init(). filename URL describing location of file to be hashed; Supports fopen wrappers.

hash_pbkdf2

(PHP 5 >= 5.5.0, PHP 7) Generate a PBKDF2 key derivation of a supplied password string hash_pbkdf2 ( string $algo, string $password, string $salt, int $iterations [, int $length = 0 [, bool $raw_output = false ]] ) Parameters: algo Name of selected hashing algorithm (i.e. md5, sha256, haval160,4, etc..) See hash_algos() for a list of supported algorithms.

hash_init

(PHP 5 >= 5.1.2, PHP 7, PECL hash >= 1.1) Initialize an incremental hashing context resource hash_init ( string $algo [, int $options = 0 [, string $key = NULL ]] ) Parameters: algo Name of selected hashing algorithm (i.e. "md5", "sha256", "haval160,4", etc..). For a list of supported algorithms see hash_algos(). options Optional

hash_hmac

(PHP 5 >= 5.1.2, PHP 7, PECL hash >= 1.1) Generate a keyed hash value using the HMAC method string hash_hmac ( string $algo, string $data, string $key [, bool $raw_output = false ] ) Parameters: algo Name of selected hashing algorithm (i.e. "md5", "sha256", "haval160,4", etc..) See hash_algos() for a list of supported algorithms. data

hash_hmac_file

(PHP 5 >= 5.1.2, PHP 7, PECL hash >= 1.1) Generate a keyed hash value using the HMAC method and the contents of a given file string hash_hmac_file ( string $algo, string $filename, string $key [, bool $raw_output = false ] ) Parameters: algo Name of selected hashing algorithm (i.e. "md5", "sha256", "haval160,4", etc..) See hash_algos() for a list of supported algorit

hash_final

(PHP 5 >= 5.1.2, PHP 7, PECL hash >= 1.1) Finalize an incremental hash and return resulting digest string hash_final ( resource $context [, bool $raw_output = false ] ) Parameters: context Hashing context returned by hash_init(). raw_output When set to TRUE, outputs raw binary data. FALSE outputs lowercase hexits.

hash_file

(PHP 5 >= 5.1.2, PHP 7, PECL hash >= 1.1) Generate a hash value using the contents of a given file string hash_file ( string $algo, string $filename [, bool $raw_output = false ] ) Parameters: algo Name of selected hashing algorithm (i.e. "md5", "sha256", "haval160,4", etc..) filename URL describing location of file to be hashed; S