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

sodium_crypto_core_ristretto255_scalar_reduce

PHP function Edit on GitHub ✎

(PHP 8 >= 8.1.0)

Reduces a scalar value

Description

sodium_crypto_core_ristretto255_scalar_reduce(string $s): string

Reduces a scalar value. Available as of libsodium 1.0.18.

Func

Parameters

s

Scalar value.

Return Values

Returns a 32-byte random String.

See Also

Source: reference/sodium/functions/sodium-crypto-core-ristretto255-scalar-reduce.xml · from the official PHP manual (php/doc-en)