ParagonIE_Sodium_Core32_ChaCha20::stream() public WP 1.0
{} Это метод класса: ParagonIE_Sodium_Core32_ChaCha20{}
Хуков нет.
Возвращает
Строку
. Null. Ничего.
Использование
$result = ParagonIE_Sodium_Core32_ChaCha20::stream( $len, $nonce, $key );
- $len(число)
- -
- $nonce(строка)
- -
- $key(строка)
- -
Код ParagonIE_Sodium_Core32_ChaCha20::stream() ParagonIE Sodium Core32 ChaCha20::stream WP 5.7
public static function stream($len = 64, $nonce = '', $key = '')
{
return self::encryptBytes(
new ParagonIE_Sodium_Core32_ChaCha20_Ctx($key, $nonce),
str_repeat("\x00", $len)
);
}