wp-includes/sodium_compat/src/Core/Ristretto255.php:43Returns 0 if this field element results in all NUL bytes.
$fParagonIE_Sodium_Core_Curve25519_Feint public static function fe_iszero(ParagonIE_Sodium_Core_Curve25519_Fe $f) { static $zero; if ($zero === null) { $zero = str_repeat("\x00", 32); } /** @var string $zero */ $str = self::fe_tobytes($f); $d = 0; for ($i = 0; $i < 32; ++$i) { $d |= self::chrToInt($str[$i]); } return (($d - 1) >> 31) & 1; }Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/sodium_compat/src/Core/Ristretto255.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.