php / 8.1.5 / function.sodium-crypto-core-ristretto255-scalar-reduce.html /

sodium_crypto_core_ristretto255_scalar_reduce

(PHP 8 >= 8.1.0)

sodium_crypto_core_ristretto255_scalar_reduceReduces a scalar value

Description

sodium_crypto_core_ristretto255_scalar_reduce(string $s): string

Reduces a scalar value. Available as of libsodium 1.0.18.

Warning

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

Parameters

s

Scalar value.

Return Values

Returns a 32-byte random string.

See Also

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.sodium-crypto-core-ristretto255-scalar-reduce.php