sodium_crypto_secretbox_keygen

(PHP 7 >= 7.2.0, PHP 8)

sodium_crypto_secretbox_keygenGenerate random key for sodium_crypto_secretbox

Description

sodium_crypto_secretbox_keygen(): string

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

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

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