php8.5
Home/ Manual/ sodium / functions/ sodium_crypto_aead_aegis128l_keygen

sodium_crypto_aead_aegis128l_keygen

PHP function Edit on GitHub ✎

(PHP 8 >= 8.4.0)

Generate a random AEGIS-128L key

Description

sodium_crypto_aead_aegis128l_keygen(): string

Generate a random key for use with sodium_crypto_aead_aegis128l_encrypt() and sodium_crypto_aead_aegis128l_decrypt().

Parameters Parameters

Return Values

Returns a 128-bit random key.

See Also

Source: reference/sodium/functions/sodium-crypto-aead-aegis128l-keygen.xml · from the official PHP manual (php/doc-en)