PHP 7.4.25 Released!

sodium_crypto_generichash_keygen

(PHP 7 >= 7.2.0, PHP 8)

sodium_crypto_generichash_keygenGenerate a random generichash key

Descripción

sodium_crypto_generichash_keygen(): string

Generate a random key for use with the generichash API.

Parámetros

Esta función no tiene parámetros.

Valores devueltos

A random 256-bit key.

add a note add a note

User Contributed Notes

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