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