ParagonIE_Sodium_Core_XSalsa20::xsalsa20_xor()
Encrypt a string with XSalsa20. Doesn't provide integrity.
{} Это метод класса: ParagonIE_Sodium_Core_XSalsa20{}
Хуков нет.
Возвращает
Строку
.
Использование
$result = ParagonIE_Sodium_Core_XSalsa20::xsalsa20_xor( $message, $nonce, $key );
- $message(строка) (обязательный)
- -
- $nonce(строка) (обязательный)
- -
- $key(строка) (обязательный)
- -
Код ParagonIE_Sodium_Core_XSalsa20::xsalsa20_xor() ParagonIE Sodium Core XSalsa20::xsalsa20 xor WP 6.0
public static function xsalsa20_xor($message, $nonce, $key) { return self::xorStrings( $message, self::xsalsa20( self::strlen($message), $nonce, $key ) ); }