PHP 8.5.0 Alpha 2 available for testing

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 contiene ningún parámetro.

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