sodium_memcmp

(PHP 7 >= 7.2.0)

sodium_memcmpTest for equality in constant-time

Description

sodium_memcmp ( string $buf1 , string $buf2 ) : int
Warning

This function is currently not documented; only its argument list is available.

Parameters

buf1
buf2

Return Values

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.sodium-memcmp.php