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_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_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_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_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

(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

(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

mcrypt_cbc

(PHP 4, PHP 5) Encrypts/decrypts data in CBC mode string mcrypt_cbc ( int $cipher, string $key, string $data, int $mode [, string $iv ] ) string mcrypt_cbc ( string $cipher , string $key , string $data , int $mode [, string $iv ] ) The first prototype is when linked against libmcrypt 2.2.x, the second when linked against libmcrypt 2.4.x or higher. The mode should be either MCRYPT_ENCRYPT or MCRYPT_DECRYPT.

mcrypt_cfb

(PHP 4, PHP 5) Encrypts/decrypts data in CFB mode string mcrypt_cfb ( int $cipher, string $key, string $data, int $mode, string $iv ) string mcrypt_cfb ( string $cipher , string $key , string $data , int $mode [, string $iv ] ) The first prototype is when linked against libmcrypt 2.2.x, the second when linked against libmcrypt 2.4.x or higher. The mode should be either MCRYPT_ENCRYPT or MCRYPT_DECRYPT.

mcrypt_create_iv

(PHP 4, PHP 5, PHP 7) Creates an initialization vector (IV) from a random source string mcrypt_create_iv ( int $size [, int $source = MCRYPT_DEV_URANDOM ] ) Creates an initialization vector (IV) from a random source. The IV is only meant to give an alternative seed to the encryption routines. This IV does not need to be secret at all, though it can be desirable. You even can send it along with your ciphertext without losi