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

sodium_crypto_core_ristretto255_scalar_mul

PHP function Edit on GitHub ✎

(PHP 8 >= 8.1.0)

Multiplies a scalar value

Description

sodium_crypto_core_ristretto255_scalar_mul(string $x, string $y): string

Multiplies a scalar value. Available as of libsodium 1.0.18.

Func

Parameters

x

Scalar, representing the X coordinate.

y

Scalar, representing the Y coordinate.

Return Values

Returns a 32-byte random String.

See Also

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