sodium_crypto_core_ristretto255_random

PHP 8 >= 8.1.0
sodium_crypto_core_ristretto255_random - Generates a random key
Manual
Code Examples

sodium_crypto_core_ristretto255_random( ): string

Generates a random key. Available as of libsodium 1.0.18.

Warning:

This function is currently not documented; only its argument list is available.

Parameters

This function has no parameters.

Return Values

Returns a 32-byte random string.

Related Functions

Example of sodium_crypto_core_ristretto255_random

Show all examples for sodium_crypto_core_ristretto255_random

PHP Version:


Function sodium_crypto_core_ristretto255_random:

Sodium Functions

Most used PHP functions