Sodium Functions
PHP Manual

sodium_crypto_box_keypair

(PHP 7 >= 7.2.0)

sodium_crypto_box_keypairRandomly generate a secret key and a corresponding public key

Description

string sodium_crypto_box_keypair ( void )

Warning

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

Parameters

This function has no parameters.

Return Values


Sodium Functions
PHP Manual