sodium_crypto_shorthash
sodium_crypto_shorthash
Compute a short hash of a message and key
string **sodium_crypto_shorthash** string $message string $key
wraps a hash function called
SipHash-2-4, which is ideal for implementing hash tables that are not susceptible
to hash collision denial of service attacks (Hash-DoS).
sodium_crypto_shorthash
SipHash-2-4 isn't a general purpose cryptographic hash function.
messageThe message to hash.
keyThe hash key.