PHP 8.4.6 Released!

sodium_crypto_stream_xchacha20_keygen

(PHP 8 >= 8.1.0)

sodium_crypto_stream_xchacha20_keygenDevuelve una clave aleatoria segura

Descripción

sodium_crypto_stream_xchacha20_keygen(): string

Devuelve una clave aleatoria segura para ser utilizada con sodium_crypto_stream_xchacha20().

Parámetros

Esta función no tiene parámetros.

Valores devueltos

Devuelve una clave segura de 32 bytes para ser utilizada con sodium_crypto_stream_xchacha20().

add a note

User Contributed Notes

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