sodium_crypto_box_keypair

(PHP 7 >= 7.2.0)

sodium_crypto_box_keypairRandomly generate a secret key and a corresponding public key

Description

sodium_crypto_box_keypair ( void ) : string

Warning

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

Parameters

This function has no parameters.

Return Values

add a note add a note

User Contributed Notes 1 note

up
0
mickey at disneyland dot com
3 months ago
To get the actual public and secret keys, use `sodium_crypto_box_publickey()` and `sodium_crypto_box_secretkey()`.
To Top