sodium_crypto_core_ristretto255_scalar_sub

PHP 8 >= 8.1.0
sodium_crypto_core_ristretto255_scalar_sub - Subtracts a scalar value
Manual
Code Examples

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

Subtracts a scalar y from x. Available as of libsodium 1.0.18.

Warning:

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

Parameters

x

Scalar, representing the X coordinate.

y

Scalar, representing the Y coordinate.

Return Values

Returns a 32-byte random string.

Related Functions

Example of sodium_crypto_core_ristretto255_scalar_sub

Show all examples for sodium_crypto_core_ristretto255_scalar_sub

PHP Version:


Function sodium_crypto_core_ristretto255_scalar_sub:

Sodium Functions

Most used PHP functions