ParagonIE_Sodium_Compat::crypto_shorthash

SummerySummery

Calculates a SipHash-2-4 hash of a message for a given key.

Syntax

ParagonIE_Sodium_Compat::crypto_shorthash( string $message, string $key )

ParametersParameters

$message

(string) (Required) Input message

$key

(string) (Required) SipHash-2-4 key

ReturnReturn

(string) Hash

SourceSource

File: wp-includes/sodium_compat/src/Compat.php


			
Scroll to Top