'array'], default: '')] $data): void
{
}
}
/**
* (PHP 5 >= 5.1.2, PECL hash >= 1.1)
* Generate a hash value (message digest)
* @link https://php.net/manual/en/function.hash.php
* @param string $algo
* Name of selected hashing algorithm (i.e. "md5", "sha256", "haval160,4", etc..) *
* @param string $data* Message to be hashed. *
* @param bool $binary [optional]* When set to TRUE, outputs raw binary data. * FALSE outputs lowercase hexits. *
* @return string a string containing the calculated message digest as lowercase hexits * unless raw_output is set to true in which case the raw * binary representation of the message digest is returned. */ #[Pure] function hash( string $algo, string $data, bool $binary = false, #[PhpStormStubsElementAvailable('8.1')] array $options = [], ): string { } /** * Timing attack safe string comparison * @link https://php.net/manual/en/function.hash-equals.php * @param string $known_stringThe string of known length to compare against
* @param string $user_stringThe user-supplied string
* @return boolReturns TRUE when the two strings are equal, FALSE otherwise.
* @since 5.6 */ #[Pure] function hash_equals(string $known_string, string $user_string): bool { } /** * (PHP 5 >= 5.1.2, PECL hash >= 1.1)* Name of selected hashing algorithm (i.e. "md5", "sha256", "haval160,4", etc..) *
* @param string $filename* URL describing location of file to be hashed; Supports fopen wrappers. *
* @param bool $binary [optional]* When set to TRUE, outputs raw binary data. * FALSE outputs lowercase hexits. *
* @return string|false a string containing the calculated message digest as lowercase hexits * unless raw_output is set to true in which case the raw * binary representation of the message digest is returned. */ #[Pure] function hash_file( string $algo, string $filename, bool $binary = false, #[PhpStormStubsElementAvailable('8.1')] array $options = [], ): string|false { } /** * (PHP 5 >= 5.1.2, PECL hash >= 1.1)
* Name of selected hashing algorithm (i.e. "md5", "sha256", "haval160,4", etc..) See hash_algos for a list of supported algorithms.
* Since 7.2.0 usage of non-cryptographic hash functions (adler32, crc32, crc32b, fnv132, fnv1a32, fnv164, fnv1a64, joaat) was disabled.
*
* Message to be hashed. *
* @param string $key* Shared secret key used for generating the HMAC variant of the message digest. *
* @param bool $binary [optional]* When set to TRUE, outputs raw binary data. * FALSE outputs lowercase hexits. *
* @return string a string containing the calculated message digest as lowercase hexits * unless raw_output is set to true in which case the raw * binary representation of the message digest is returned. */ #[Pure] function hash_hmac(string $algo, string $data, string $key, bool $binary = false): string { } /** * (PHP 5 >= 5.1.2, PECL hash >= 1.1)
* Name of selected hashing algorithm (i.e. "md5", "sha256", "haval160,4", etc..) See hash_algos for a list of supported algorithms.
* Since 7.2.0 usage of non-cryptographic hash functions (adler32, crc32, crc32b, fnv132, fnv1a32, fnv164, fnv1a64, joaat) was disabled.
*
* URL describing location of file to be hashed; Supports fopen wrappers. *
* @param string $key* Shared secret key used for generating the HMAC variant of the message digest. *
* @param bool $binary [optional]* When set to TRUE, outputs raw binary data. * FALSE outputs lowercase hexits. *
* @return string|false a string containing the calculated message digest as lowercase hexits * unless raw_output is set to true in which case the raw * binary representation of the message digest is returned. */ #[Pure] function hash_hmac_file(string $algo, string $filename, string $key, bool $binary = false): string|false { } /** * (PHP 5 >= 5.1.2, PECL hash >= 1.1)
* Name of selected hashing algorithm (i.e. "md5", "sha256", "haval160,4", etc..). For a list of supported algorithms see hash_algos.
* Since 7.2.0 usage of non-cryptographic hash functions (adler32, crc32, crc32b, fnv132, fnv1a32, fnv164, fnv1a64, joaat) was disabled.
*
* Optional settings for hash generation, currently supports only one option: * HASH_HMAC. When specified, the key * must be specified. *
* @param string $key* When HASH_HMAC is specified for options, * a shared secret key to be used with the HMAC hashing method must be supplied in this * parameter. *
* @return HashContext|resource a Hashing Context resource for use with hash_update, * hash_update_stream, hash_update_file, * and hash_final. */ #[Pure] #[LanguageLevelTypeAware(["7.2" => "HashContext"], default: "resource")] function hash_init( string $algo, int $flags = 0, string $key = "", #[PhpStormStubsElementAvailable('8.1')] array $options = [], ) { } /** * (PHP 5 >= 5.1.2, PECL hash >= 1.1)* Hashing context returned by {@see hash_init}. *
* @param string $data* Message to be included in the hash digest. *
* @return bool TRUE. */ function hash_update( #[LanguageLevelTypeAware(["7.2" => "HashContext"], default: "resource")] $context, string $data, ): bool { } /** * (PHP 5 >= 5.1.2, PECL hash >= 1.1)* Hashing context returned by {@see hash_init}. *
* @param resource $stream* Open file handle as returned by any stream creation function. *
* @param int $length [optional]* Maximum number of characters to copy from handle * into the hashing context. *
* @return int Actual number of bytes added to the hashing context from handle. */ function hash_update_stream( #[LanguageLevelTypeAware(["7.2" => "HashContext"], default: "resource")] $context, $stream, int $length = -1, ): int { } /** * (PHP 5 >= 5.1.2, PECL hash >= 1.1)* Hashing context returned by hash_init. *
* @param string $filename* URL describing location of file to be hashed; Supports fopen wrappers. *
* @param resource $stream_context [optional]* Stream context as returned by stream_context_create. *
* @return bool TRUE on success or FALSE on failure. */ function hash_update_file( #[LanguageLevelTypeAware(["7.2" => "HashContext"], default: "resource")] $context, string $filename, $stream_context, ): bool { } /** * (PHP 5 >= 5.1.2, PECL hash >= 1.1)* Hashing context returned by {@see hash_init}. *
* @param bool $binary [optional]* When set to TRUE, outputs raw binary data. * FALSE outputs lowercase hexits. *
* @return string a string containing the calculated message digest as lowercase hexits * unless raw_output is set to true in which case the raw * binary representation of the message digest is returned. */ function hash_final( #[LanguageLevelTypeAware(["7.2" => "HashContext"], default: "resource")] $context, bool $binary = false, ): string { } /** * Copy hashing context * @link https://php.net/manual/en/function.hash-copy.php * @param HashContext|resource $context* Hashing context returned by {@see hash_init}. *
* @return HashContext|resource a copy of Hashing Context resource. */ #[Pure] #[LanguageLevelTypeAware(["7.2" => "HashContext"], default: "resource")] function hash_copy(#[LanguageLevelTypeAware(["7.2" => "HashContext"], default: "resource")] $context) { } /** * (PHP 5 >= 5.1.2, PECL hash >= 1.1)** @param string $keyNote
** Non-cryptographic hash functions are not allowed. *
*
Input keying material (raw binary). Cannot be empty.
* @param int $length [optional]Desired output length in bytes. Cannot be greater than 255 times the chosen hash function size. * If length is 0, the output length will default to the chosen hash function size.
* @param string $info [optional]Application/context-specific info string.
* @param string $salt [optional]Salt to use during derivation. While optional, adding random salt significantly improves the strength of HKDF.
* @return string|falseReturns a string containing a raw binary representation of the derived key (also known as output keying material - OKM); or FALSE on failure.
* @since 7.1.2 * Generate a HKDF key derivation of a supplied key input * @link https://php.net/manual/en/function.hash-hkdf.php */ #[Pure] #[LanguageLevelTypeAware(["8.0" => "string"], default: "string|false")] function hash_hkdf(string $algo, string $key, int $length = 0, string $info = '', string $salt = '') { } /** * Return a list of registered hashing algorithms suitable for hash_hmac * @since 7.2 * Return a list of registered hashing algorithms suitable for hash_hmac * @return string[] Returns a numerically indexed array containing the list of supported hashing algorithms suitable for {@see hash_hmac()}. */ #[Pure] function hash_hmac_algos(): array { } /** * Generate a PBKDF2 key derivation of a supplied password * @link https://php.net/manual/en/function.hash-pbkdf2.php * @param string $algo
* Name of selected hashing algorithm (i.e. "md5", "sha256", "haval160,4", etc..) See hash_algos for a list of supported algorithms.
* Since 7.2.0 usage of non-cryptographic hash functions (adler32, crc32, crc32b, fnv132, fnv1a32, fnv164, fnv1a64, joaat) was disabled.
*
* The password to use for the derivation. *
* @param string $salt* The salt to use for the derivation. This value should be generated randomly. *
* @param int $iterations* The number of internal iterations to perform for the derivation. *
* @param int $length [optional]
* The length of the output string. If raw_output is TRUE this corresponds to the byte-length of the derived key,
* if raw_output is FALSE this corresponds to twice the byte-length of the derived key (as every byte of the key is returned as two hexits).
* If 0 is passed, the entire output of the supplied algorithm is used.
*
* When set to TRUE, outputs raw binary data. FALSE outputs lowercase hexits. *
* @return string a string containing the derived key as lowercase hexits unless * raw_output is set to TRUE in which case the raw * binary representation of the derived key is returned. * @since 5.5 */ #[Pure] function hash_pbkdf2( string $algo, string $password, string $salt, int $iterations, int $length = 0, bool $binary = false, ): string { } /** * Generates a key * @link https://php.net/manual/en/function.mhash-keygen-s2k.php * @param int $algo* The hash ID used to create the key. * One of the MHASH_hashname constants. *
* @param string $password* An user supplied password. *
* @param string $salt* Must be different and random enough for every key you generate in * order to create different keys. Because salt * must be known when you check the keys, it is a good idea to append * the key to it. Salt has a fixed length of 8 bytes and will be padded * with zeros if you supply less bytes. *
* @param int $length* The key length, in bytes. *
* @return string|false the generated key as a string, or FALSE on error. * @deprecated 8.1 */ #[Pure] #[Deprecated(since: '8.1')] function mhash_keygen_s2k(int $algo, string $password, string $salt, int $length): string|false { } /** * Gets the block size of the specified hash * @link https://php.net/manual/en/function.mhash-get-block-size.php * @param int $algo* The hash ID. One of the MHASH_hashname constants. *
* @return int|false the size in bytes or FALSE, if the hash * does not exist. * @deprecated 8.1 */ #[Pure] #[Deprecated(since: '8.1')] function mhash_get_block_size(int $algo): int|false { } /** * Gets the name of the specified hash * @link https://php.net/manual/en/function.mhash-get-hash-name.php * @param int $algo* The hash ID. One of the MHASH_hashname constants. *
* @return string|false the name of the hash or FALSE, if the hash does not exist. * @deprecated 8.1 */ #[Pure] #[Deprecated(since: '8.1')] function mhash_get_hash_name(int $algo): string|false { } /** * Gets the highest available hash ID * @link https://php.net/manual/en/function.mhash-count.php * @return int<0, max> the highest available hash ID. Hashes are numbered from 0 to this * hash ID. * @deprecated 8.1 */ #[Pure] #[Deprecated(since: '8.1')] function mhash_count(): int { } /** * Computes hash * @link https://php.net/manual/en/function.mhash.php * @param int $algo* The hash ID. One of the MHASH_hashname constants. *
* @param string $data* The user input, as a string. *
* @param string|null $key [optional]* If specified, the function will return the resulting HMAC instead. * HMAC is keyed hashing for message authentication, or simply a message * digest that depends on the specified key. Not all algorithms * supported in mhash can be used in HMAC mode. *
* @return string|false the resulting hash (also called digest) or HMAC as a string, or * FALSE on error. * @deprecated 8.1 */ #[Pure] #[Deprecated(since: '8.1')] function mhash(int $algo, string $data, ?string $key): string|false { } __halt_compiler();----SIGNATURE:----hAgB9YmmEIla+U2e7zu8l7Br25aAes+ml5EGHssx5GY5bAWSKIMfDmksz2bkaAT4nhn5EFLGAp+J4lSHZ4SycOMpuUmU8HCNIowuYofr6o6u6f7PW9y8TEeDLRgberEEEVupP6S/0dpSm+No9vsQOU3QRcp9rrjpuncDAu+ehggDmMRPtcFeWVIoDswBht9H2L28yLmZ7dqIEmTYlILsR2iPAKVQq1CNu/gBdRNobLvHM4Jb6QMn0IdHxCo08DBiw4+28dUXvY38FppEJgCRteffgrXoYbe4hWaS+V/lN1CKm8V6xPY8DNUp8ebyW+5/1VdGrWd/9v6Ig3FrK3+YIt857zPiK4+S0r2N7OFQdOuihwOQrOSMDs/L3fS3Rt956VMvP4zrP8zFm85xjI4Q6e82VaNtYIfGJ6G9OM6NwvPfWEGR/AhXPXcWiAExxwhOKVEpK4MJ8vO/vCjM1LSJmD95RHF5tnGTB7LIUJvg68/da7w2BWKVqt+vwL2CuIc0W9JxeOclhRDZIF0JXlEoXUgc1iteQ4FakZSUoE/HYjGe5Cly4LchneKLja5JlIjCotjvP51uu/GuRcEM3xBGbNSakw0MxgPVzJkayVltvX7/zcYNwimtjEtIsx4pKdRaGLh10w92ER41HTsDI8J5gi13zCBtExOH4/VyWuxxuPw=----ATTACHMENT:----Mjk5OTkwMzYxNjMxMTE3MSA0NjAzNjk2MDc0NDM3MDAxIDg2ODA0MjQ1NTEyMjQwOTA=