sodium_crypto_stream_xor
Supported Versions: PHP 7 >= 7.2.0, PHP 8
Encrypt a message without authentication
<?php sodium_crypto_stream_xor
(
string $message
,
string $nonce
,
string $key
):
string