sodium_crypto_box_keypair

(PHP 7 >= 7.2.0)

sodium_crypto_box_keypairRandomly generate a secret key and a corresponding public key

说明

sodium_crypto_box_keypair ( void ) : string

Warning

本函数还未编写文档,仅有参数列表。

参数

此函数没有参数。

返回值

add a note add a note

User Contributed Notes 1 note

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