TIGER/WHIRLPOOL algorithms: hash functions with high cryptographic properties optimized for the 64-bit mode (but can also be used in 32-bit mode). The TIGER algorithms are not available.

CKSUM algorithms: hash functions with no cryptographic property, should be used to perform low-level checks or with hashing tables.

Versions 22 and laterDJB2 algorithm (Bernstein): hash functions reserved to strings and with no cryptographic property, should be used to perform low-level checks or with hashing tables. Few risks to get an identical hash.

New in version 22DJB2 algorithm (Bernstein): hash functions reserved to strings and with no cryptographic property, should be used to perform low-level checks or with hashing tables. Few risks to get an identical hash.

DJB2 algorithm (Bernstein): hash functions reserved to strings and with no cryptographic property, should be used to perform low-level checks or with hashing tables. Few risks to get an identical hash.

Versions 24 and laterMURMUR algorithm (Multiply Rotate): very fast hashing functions. This algorithm is used by the "bloom filter" of bitcoin wallets.

New in version 24MURMUR algorithm (Multiply Rotate): very fast hashing functions. This algorithm is used by the "bloom filter" of bitcoin wallets.

MURMUR algorithm (Multiply Rotate): very fast hashing functions. This algorithm is used by the "bloom filter" of bitcoin wallets.

<String>: Character string (with quotes)

String for which the Hash will be checked.

<Hash>: Character string (with quotes)

Hash of string to check. This Hash must be the result of HashString previously called for <String> on <Type of algorithm>.

TIGER/WHIRLPOOL algorithms: hash functions with high cryptographic properties optimized for the 64-bit mode (but can also be used in 32-bit mode). The TIGER algorithms are not available.

Versions 24 and laterMURMUR algorithm (Multiply Rotate): very fast hashing functions. This algorithm is used by the "bloom filter" of bitcoin wallets.

New in version 24MURMUR algorithm (Multiply Rotate): very fast hashing functions. This algorithm is used by the "bloom filter" of bitcoin wallets.

MURMUR algorithm (Multiply Rotate): very fast hashing functions. This algorithm is used by the "bloom filter" of bitcoin wallets.

<String>: Character string (with quotes)

String for which the Hash will be checked.

<Hash>: Character string (with quotes)

Hash of string to check. This Hash must be the result of HashString previously called for <String> on <Type of algorithm&gt.

<Secret key>: Character string (between quotes) or Integer

Authentication key of message. This key must be identical to the one used to calculate the Hash.

This parameter must not be an empty string.

Remarks

Availability of algorithms

The available algorithms depend on the configuration of PHP server.

The TIGER algorithms are not available.The SHA-3 algorithms are not available.

Only the following algorithms are supported:

HA_MD5_128

HA_SHA_160, HA_SHA_256, HA_SHA_384, HA_SHA_512

HA_HMAC_MD5_128

HA_HMAC_SHA_160, HA_HMAC_SHA_256, HA_HMAC_SHA_384, HA_SHA_HMAC_512.

HashCheckString function and UNICODE

Multi-platform development: To use Hash of strings between several platforms (a hash generated in iOS and checked in Android or Windows for example), no Unicode string must be used. Indeed, the Unicode strings do not have the same format according to the platforms. In this case, we advise you to use strings in ANSI or UTF 8 format (and to convert the Unicode strings if necessary).