sodium_crypto_secretstream_xchacha20poly1305_keygen
PHP Manual
PHP Manual»Fonctions Sodium»sodium_crypto_secretstream_xchacha20poly1305_keygen

sodium_crypto_secretstream_xchacha20poly1305_keygen

(PHP 7 >= 7.2.0, PHP 8)

sodium_crypto_secretstream_xchacha20poly1305_keygenGénère une clé secretstream aléatoire.

Description

function sodium_crypto_secretstream_xchacha20poly1305_keygen(): string

Génère une clé secretstream aléatoire.

Liste de paramètres

Cette fonction ne contient aucun paramètre.

Valeurs de retour

Renvoie une chaîne de bytes aléatoires.

To Top