sodium_crypto_stream_xchacha20_xor
Supported Versions: PHP 8 >= 8.1.0
Encrypts a message using a nonce and a secret key (no authentication)
<?php sodium_crypto_stream_xchacha20_xor
(
string $message
,
string $nonce
,
string $key
):
string