sodium_crypto_box

(PHP 7 >= 7.2.0, PHP 8)

sodium_crypto_boxEncrypt a message

Description

sodium_crypto_box ( string $message , string $nonce , string $key_pair ) : string

Warning

This function is currently not documented; only its argument list is available.

Parameters

message

nonce

key_pair

Return Values