PHP 8.1.0 Beta 1 available for testing

sodium_crypto_secretbox_keygen

(PHP 7 >= 7.2.0, PHP 8)

sodium_crypto_secretbox_keygenGenerate random key for sodium_crypto_secretbox

说明

sodium_crypto_secretbox_keygen(): string

Generate a key for use with sodium_crypto_secretbox() and sodium_crypto_secretbox_open().

警告

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

参数

此函数没有参数。

返回值

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top