ParagonIE_Sodium_Core32_Curve25519::fe_isnegative()
Is a field element negative? (1 = yes, 0 = no. Used in calculations.)
{} Это метод класса: ParagonIE_Sodium_Core32_Curve25519{}
Хуков нет.
Возвращает
int
.
Использование
$result = ParagonIE_Sodium_Core32_Curve25519::fe_isnegative( $f );
- $f(ParagonIE_Sodium_Core32_Curve25519_Fe) (обязательный)
- -
Код ParagonIE_Sodium_Core32_Curve25519::fe_isnegative() ParagonIE Sodium Core32 Curve25519::fe isnegative WP 6.0
public static function fe_isnegative(ParagonIE_Sodium_Core32_Curve25519_Fe $f) { $str = self::fe_tobytes($f); return (int) (self::chrToInt($str[0]) & 1); }