PHP 8.0.6 Released!

sodium_crypto_box_keypair

(PHP 7 >= 7.2.0, PHP 8)

sodium_crypto_box_keypairRandomly generate a secret key and a corresponding public key

说明

sodium_crypto_box_keypair ( ) : string

警告

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

参数

此函数没有参数。

返回值

add a note add a note

User Contributed Notes 1 note

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