-
public interface Ristretto255.Lazy
-
-
Method Summary
Modifier and Type Method Description abstract booleancryptoCoreRistretto255IsValidPoint(String point)Returns whether the passed encoded string represents a valid Ristretto255 point. abstract Ristretto255.RistrettoPointcryptoCoreRistretto255Random()Chooses a random Ristretto255 point and returns it. abstract Ristretto255.RistrettoPointcryptoCoreRistretto255FromHash(String hash)Maps a RISTRETTO255_HASH_BYTES bytes hash to a . abstract Ristretto255.RistrettoPointcryptoCoreRistretto255FromHash(Array<byte> hash)Maps a RISTRETTO255_HASH_BYTES bytes hash to a Ristretto255 point. abstract Ristretto255.RistrettoPointcryptoScalarmultRistretto255(BigInteger n, Ristretto255.RistrettoPoint point)Multiplies the given Ristretto255 {@code point}by the scalar{@code n}and returns theresulting point.abstract Ristretto255.RistrettoPointcryptoScalarmultRistretto255(String nEnc, Ristretto255.RistrettoPoint point)Multiplies the given Ristretto255 {@code point}by the scalar{@code n}and returns theresulting point.abstract Ristretto255.RistrettoPointcryptoScalarmultRistretto255(Array<byte> n, Ristretto255.RistrettoPoint point)Multiplies the given Ristretto255 {@code point}by the scalar{@code n}and returns theresulting point.abstract Ristretto255.RistrettoPointcryptoScalarmultRistretto255Base(BigInteger n)Multiplies the Ristretto255 base point by the scalar {@code n}and returns the result.abstract Ristretto255.RistrettoPointcryptoScalarmultRistretto255Base(String nEnc)Multiplies the Ristretto255 base point by the scalar {@code n}and returns the result.abstract Ristretto255.RistrettoPointcryptoScalarmultRistretto255Base(Array<byte> n)Multiplies the Ristretto255 base point by the scalar {@code n}and returns the result.abstract Ristretto255.RistrettoPointcryptoCoreRistretto255Add(Ristretto255.RistrettoPoint p, Ristretto255.RistrettoPoint q)Adds two given Ristretto255 points {@code p}and{@code q}and returns the result.abstract Ristretto255.RistrettoPointcryptoCoreRistretto255Sub(Ristretto255.RistrettoPoint p, Ristretto255.RistrettoPoint q)Subtracts two given Ristretto255 points {@code p}and{@code q}and returns the result.abstract BigIntegercryptoCoreRistretto255ScalarRandom()Creates a random scalar value in {@code [0, l[}with{@code L}being the order of theRistretto255 group.abstract BigIntegercryptoCoreRistretto255ScalarReduce(BigInteger scalar)Reduces a possibly larger scalar value to {@code [0, l[}with{@code L}being the orderof the Ristretto255 group.abstract BigIntegercryptoCoreRistretto255ScalarReduce(String scalarEnc)Reduces a possibly larger scalar value to {@code [0, l[}with{@code L}being the orderof the Ristretto255 group.abstract BigIntegercryptoCoreRistretto255ScalarReduce(Array<byte> scalar)Reduces a possibly larger scalar value to {@code [0, L[}with{@code L}being the orderof the Ristretto255 group.abstract BigIntegercryptoCoreRistretto255ScalarInvert(BigInteger scalar)Calculates the multiplicative inverse of the given scalar value. abstract BigIntegercryptoCoreRistretto255ScalarInvert(String scalarEnc)Calculates the multiplicative inverse of the given scalar value. abstract BigIntegercryptoCoreRistretto255ScalarInvert(Array<byte> scalar)Calculates the multiplicative inverse of the given scalar value. abstract BigIntegercryptoCoreRistretto255ScalarNegate(BigInteger scalar)Calculates the additive inverse of the given scalar value. abstract BigIntegercryptoCoreRistretto255ScalarNegate(String scalarEnc)Calculates the additive inverse of the given scalar value. abstract BigIntegercryptoCoreRistretto255ScalarNegate(Array<byte> scalar)Calculates the additive inverse of the given scalar value. abstract BigIntegercryptoCoreRistretto255ScalarComplement(BigInteger scalar)Calculates the result R for the given scalar value such that {@code R + scalar = 1 (mod * L)}with{@code L}being the order of the Ristretto255 group.abstract BigIntegercryptoCoreRistretto255ScalarComplement(String scalarEnc)Calculates the result R for the given scalar value such that {@code R + scalar = 1 (mod * L)}with{@code L}being the order of the Ristretto255 group.abstract BigIntegercryptoCoreRistretto255ScalarComplement(Array<byte> scalar)Calculates the result R for the given scalar value such that {@code R + scalar = 1 (mod * L)}with{@code L}being the order of the Ristretto255 group.abstract BigIntegercryptoCoreRistretto255ScalarAdd(BigInteger x, BigInteger y)Adds two scalars {@code x}and{@code y}modulo{@code L}with{@code L}being the orderof the Ristretto255 group.abstract BigIntegercryptoCoreRistretto255ScalarAdd(BigInteger x, String y)Adds two scalars {@code x}and{@code y}modulo{@code L}with{@code L}being the orderof the Ristretto255 group.abstract BigIntegercryptoCoreRistretto255ScalarAdd(String x, BigInteger y)Adds two scalars {@code x}and{@code y}modulo{@code L}with{@code L}being the orderof the Ristretto255 group.abstract BigIntegercryptoCoreRistretto255ScalarAdd(String x, String y)Adds two scalars {@code x}and{@code y}modulo{@code L}with{@code L}being the orderof the Ristretto255 group.abstract BigIntegercryptoCoreRistretto255ScalarAdd(String x, Array<byte> y)Adds two scalars {@code x}and{@code y}modulo{@code L}with{@code L}being the orderof the Ristretto255 group.abstract BigIntegercryptoCoreRistretto255ScalarAdd(Array<byte> x, String y)Adds two scalars {@code x}and{@code y}modulo{@code L}with{@code L}being the orderof the Ristretto255 group.abstract BigIntegercryptoCoreRistretto255ScalarAdd(BigInteger x, Array<byte> y)Adds two scalars {@code x}and{@code y}modulo{@code L}with{@code L}being the orderof the Ristretto255 group.abstract BigIntegercryptoCoreRistretto255ScalarAdd(Array<byte> x, BigInteger y)Adds two scalars {@code x}and{@code y}modulo{@code L}with{@code L}being the orderof the Ristretto255 group.abstract BigIntegercryptoCoreRistretto255ScalarAdd(Array<byte> x, Array<byte> y)Adds two scalars {@code x}and{@code y}modulo{@code L}with{@code L}being the orderof the Ristretto255 group.abstract BigIntegercryptoCoreRistretto255ScalarSub(BigInteger x, BigInteger y)Subtracts two scalars {@code x}and{@code y}modulo{@code L}with{@code L}being theorder of the Ristretto255 group.abstract BigIntegercryptoCoreRistretto255ScalarSub(BigInteger x, String y)Subtracts two scalars {@code x}and{@code y}modulo{@code L}with{@code L}being theorder of the Ristretto255 group.abstract BigIntegercryptoCoreRistretto255ScalarSub(String x, BigInteger y)Subtracts two scalars {@code x}and{@code y}modulo{@code L}with{@code L}being theorder of the Ristretto255 group.abstract BigIntegercryptoCoreRistretto255ScalarSub(String x, String y)Subtracts two scalars {@code x}and{@code y}modulo{@code L}with{@code L}being theorder of the Ristretto255 group.abstract BigIntegercryptoCoreRistretto255ScalarSub(String x, Array<byte> y)Subtracts two scalars {@code x}and{@code y}modulo{@code L}with{@code L}being theorder of the Ristretto255 group.abstract BigIntegercryptoCoreRistretto255ScalarSub(Array<byte> x, String y)Subtracts two scalars {@code x}and{@code y}modulo{@code L}with{@code L}being theorder of the Ristretto255 group.abstract BigIntegercryptoCoreRistretto255ScalarSub(BigInteger x, Array<byte> y)Subtracts two scalars {@code x}and{@code y}modulo{@code L}with{@code L}being theorder of the Ristretto255 group.abstract BigIntegercryptoCoreRistretto255ScalarSub(Array<byte> x, BigInteger y)Subtracts two scalars {@code x}and{@code y}modulo{@code L}with{@code L}being theorder of the Ristretto255 group.abstract BigIntegercryptoCoreRistretto255ScalarSub(Array<byte> x, Array<byte> y)Subtracts two scalars {@code x}and{@code y}modulo{@code L}with{@code L}being theorder of the Ristretto255 group.abstract BigIntegercryptoCoreRistretto255ScalarMul(BigInteger x, BigInteger y)Multiplies two scalars {@code x}and{@code y}modulo{@code L}with{@code L}being theorder of the Ristretto255 group.abstract BigIntegercryptoCoreRistretto255ScalarMul(BigInteger x, String y)Multiplies two scalars {@code x}and{@code y}modulo{@code L}with{@code L}being theorder of the Ristretto255 group.abstract BigIntegercryptoCoreRistretto255ScalarMul(String x, BigInteger y)Multiplies two scalars {@code x}and{@code y}modulo{@code L}with{@code L}being theorder of the Ristretto255 group.abstract BigIntegercryptoCoreRistretto255ScalarMul(String x, String y)Multiplies two scalars {@code x}and{@code y}modulo{@code L}with{@code L}being theorder of the Ristretto255 group.abstract BigIntegercryptoCoreRistretto255ScalarMul(String x, Array<byte> y)Multiplies two scalars {@code x}and{@code y}modulo{@code L}with{@code L}being theorder of the Ristretto255 group.abstract BigIntegercryptoCoreRistretto255ScalarMul(Array<byte> x, String y)Multiplies two scalars {@code x}and{@code y}modulo{@code L}with{@code L}being theorder of the Ristretto255 group.abstract BigIntegercryptoCoreRistretto255ScalarMul(BigInteger x, Array<byte> y)Multiplies two scalars {@code x}and{@code y}modulo{@code L}with{@code L}being theorder of the Ristretto255 group.abstract BigIntegercryptoCoreRistretto255ScalarMul(Array<byte> x, BigInteger y)Multiplies two scalars {@code x}and{@code y}modulo{@code L}with{@code L}being theorder of the Ristretto255 group.abstract BigIntegercryptoCoreRistretto255ScalarMul(Array<byte> x, Array<byte> y)Multiplies two scalars {@code x}and{@code y}modulo{@code L}with{@code L}being theorder of the Ristretto255 group.-
-
Method Detail
-
cryptoCoreRistretto255IsValidPoint
abstract boolean cryptoCoreRistretto255IsValidPoint(String point)
Returns whether the passed encoded string represents a valid Ristretto255 point.
- Parameters:
point- the point to check
-
cryptoCoreRistretto255Random
abstract Ristretto255.RistrettoPoint cryptoCoreRistretto255Random()
Chooses a random Ristretto255 point and returns it.
-
cryptoCoreRistretto255FromHash
abstract Ristretto255.RistrettoPoint cryptoCoreRistretto255FromHash(String hash)
Maps a RISTRETTO255_HASH_BYTES bytes hash to a .
- Parameters:
hash- the encoded hash
-
cryptoCoreRistretto255FromHash
abstract Ristretto255.RistrettoPoint cryptoCoreRistretto255FromHash(Array<byte> hash)
Maps a RISTRETTO255_HASH_BYTES bytes hash to a Ristretto255 point.
- Parameters:
hash- the hash, must be RISTRETTO255_HASH_BYTES
-
cryptoScalarmultRistretto255
abstract Ristretto255.RistrettoPoint cryptoScalarmultRistretto255(BigInteger n, Ristretto255.RistrettoPoint point)
Multiplies the given Ristretto255
{@code point}by the scalar{@code n}and returns theresulting point.- Parameters:
n- the scalarpoint- the Ristretto255 point
-
cryptoScalarmultRistretto255
abstract Ristretto255.RistrettoPoint cryptoScalarmultRistretto255(String nEnc, Ristretto255.RistrettoPoint point)
Multiplies the given Ristretto255
{@code point}by the scalar{@code n}and returns theresulting point.- Parameters:
nEnc- the encoded scalar bytes, in little-endian byte orderpoint- the Ristretto255 point
-
cryptoScalarmultRistretto255
abstract Ristretto255.RistrettoPoint cryptoScalarmultRistretto255(Array<byte> n, Ristretto255.RistrettoPoint point)
Multiplies the given Ristretto255
{@code point}by the scalar{@code n}and returns theresulting point.- Parameters:
n- the scalar, must be RISTRETTO255_BYTES bytes, inlittle-endian encodingpoint- the Ristretto255 point
-
cryptoScalarmultRistretto255Base
abstract Ristretto255.RistrettoPoint cryptoScalarmultRistretto255Base(BigInteger n)
Multiplies the Ristretto255 base point by the scalar
{@code n}and returns the result.- Parameters:
n- the scalar
-
cryptoScalarmultRistretto255Base
abstract Ristretto255.RistrettoPoint cryptoScalarmultRistretto255Base(String nEnc)
Multiplies the Ristretto255 base point by the scalar
{@code n}and returns the result.- Parameters:
nEnc- the encoded scalar, in little-endian byte order
-
cryptoScalarmultRistretto255Base
abstract Ristretto255.RistrettoPoint cryptoScalarmultRistretto255Base(Array<byte> n)
Multiplies the Ristretto255 base point by the scalar
{@code n}and returns the result.- Parameters:
n- the scalar, must be RISTRETTO255_SCALAR_BYTES bytes, inlittle-endian encoding
-
cryptoCoreRistretto255Add
abstract Ristretto255.RistrettoPoint cryptoCoreRistretto255Add(Ristretto255.RistrettoPoint p, Ristretto255.RistrettoPoint q)
Adds two given Ristretto255 points
{@code p}and{@code q}and returns the result.- Parameters:
p- the first Ristretto255 pointq- the second Ristretto255 point
-
cryptoCoreRistretto255Sub
abstract Ristretto255.RistrettoPoint cryptoCoreRistretto255Sub(Ristretto255.RistrettoPoint p, Ristretto255.RistrettoPoint q)
Subtracts two given Ristretto255 points
{@code p}and{@code q}and returns the result.- Parameters:
p- the first Ristretto255 pointq- the second Ristretto255 point
-
cryptoCoreRistretto255ScalarRandom
abstract BigInteger cryptoCoreRistretto255ScalarRandom()
Creates a random scalar value in
{@code [0, l[}with{@code L}being the order of theRistretto255 group.
-
cryptoCoreRistretto255ScalarReduce
abstract BigInteger cryptoCoreRistretto255ScalarReduce(BigInteger scalar)
Reduces a possibly larger scalar value to
{@code [0, l[}with{@code L}being the orderof the Ristretto255 group.- Parameters:
scalar- the scalar to reduce
-
cryptoCoreRistretto255ScalarReduce
abstract BigInteger cryptoCoreRistretto255ScalarReduce(String scalarEnc)
Reduces a possibly larger scalar value to
{@code [0, l[}with{@code L}being the orderof the Ristretto255 group.- Parameters:
scalarEnc- the encoded scalar to reduce
-
cryptoCoreRistretto255ScalarReduce
abstract BigInteger cryptoCoreRistretto255ScalarReduce(Array<byte> scalar)
Reduces a possibly larger scalar value to
{@code [0, L[}with{@code L}being the orderof the Ristretto255 group.- Parameters:
scalar- the scalar to reduce, must be RISTRETTO255_NON_REDUCED_SCALAR_BYTES bytes
-
cryptoCoreRistretto255ScalarInvert
abstract BigInteger cryptoCoreRistretto255ScalarInvert(BigInteger scalar)
Calculates the multiplicative inverse of the given scalar value.
- Parameters:
scalar- the scalar to invert
-
cryptoCoreRistretto255ScalarInvert
abstract BigInteger cryptoCoreRistretto255ScalarInvert(String scalarEnc)
Calculates the multiplicative inverse of the given scalar value.
- Parameters:
scalarEnc- the encoded scalar to invert
-
cryptoCoreRistretto255ScalarInvert
abstract BigInteger cryptoCoreRistretto255ScalarInvert(Array<byte> scalar)
Calculates the multiplicative inverse of the given scalar value.
- Parameters:
scalar- the scalar to invert, must be RISTRETTO255_SCALAR_BYTES bytes
-
cryptoCoreRistretto255ScalarNegate
abstract BigInteger cryptoCoreRistretto255ScalarNegate(BigInteger scalar)
Calculates the additive inverse of the given scalar value.
- Parameters:
scalar- the scalar to negate
-
cryptoCoreRistretto255ScalarNegate
abstract BigInteger cryptoCoreRistretto255ScalarNegate(String scalarEnc)
Calculates the additive inverse of the given scalar value.
- Parameters:
scalarEnc- the encoded scalar to negate
-
cryptoCoreRistretto255ScalarNegate
abstract BigInteger cryptoCoreRistretto255ScalarNegate(Array<byte> scalar)
Calculates the additive inverse of the given scalar value.
- Parameters:
scalar- the scalar to negate, must be RISTRETTO255_SCALAR_BYTES bytes
-
cryptoCoreRistretto255ScalarComplement
abstract BigInteger cryptoCoreRistretto255ScalarComplement(BigInteger scalar)
Calculates the result R for the given scalar value such that
{@code R + scalar = 1 (mod * L)}with{@code L}being the order of the Ristretto255 group.- Parameters:
scalar- the scalar to complement
-
cryptoCoreRistretto255ScalarComplement
abstract BigInteger cryptoCoreRistretto255ScalarComplement(String scalarEnc)
Calculates the result R for the given scalar value such that
{@code R + scalar = 1 (mod * L)}with{@code L}being the order of the Ristretto255 group.- Parameters:
scalarEnc- the encoded scalar to complement
-
cryptoCoreRistretto255ScalarComplement
abstract BigInteger cryptoCoreRistretto255ScalarComplement(Array<byte> scalar)
Calculates the result R for the given scalar value such that
{@code R + scalar = 1 (mod * L)}with{@code L}being the order of the Ristretto255 group.- Parameters:
scalar- the scalar to complement, must be RISTRETTO255_SCALAR_BYTES bytes
-
cryptoCoreRistretto255ScalarAdd
abstract BigInteger cryptoCoreRistretto255ScalarAdd(BigInteger x, BigInteger y)
Adds two scalars
{@code x}and{@code y}modulo{@code L}with{@code L}being the orderof the Ristretto255 group.- Parameters:
x- the first scalary- the second scalar
-
cryptoCoreRistretto255ScalarAdd
abstract BigInteger cryptoCoreRistretto255ScalarAdd(BigInteger x, String y)
Adds two scalars
{@code x}and{@code y}modulo{@code L}with{@code L}being the orderof the Ristretto255 group.- Parameters:
x- the first scalary- the second scalar (encoded)
-
cryptoCoreRistretto255ScalarAdd
abstract BigInteger cryptoCoreRistretto255ScalarAdd(String x, BigInteger y)
Adds two scalars
{@code x}and{@code y}modulo{@code L}with{@code L}being the orderof the Ristretto255 group.- Parameters:
x- the first scalar (encoded)y- the second scalar
-
cryptoCoreRistretto255ScalarAdd
abstract BigInteger cryptoCoreRistretto255ScalarAdd(String x, String y)
Adds two scalars
{@code x}and{@code y}modulo{@code L}with{@code L}being the orderof the Ristretto255 group.- Parameters:
x- the first scalar (encoded)y- the second scalar (encoded)
-
cryptoCoreRistretto255ScalarAdd
abstract BigInteger cryptoCoreRistretto255ScalarAdd(String x, Array<byte> y)
Adds two scalars
{@code x}and{@code y}modulo{@code L}with{@code L}being the orderof the Ristretto255 group.- Parameters:
x- the first scalar (encoded)y- the second scalar, must be RISTRETTO255_SCALAR_BYTES bytes
-
cryptoCoreRistretto255ScalarAdd
abstract BigInteger cryptoCoreRistretto255ScalarAdd(Array<byte> x, String y)
Adds two scalars
{@code x}and{@code y}modulo{@code L}with{@code L}being the orderof the Ristretto255 group.- Parameters:
x- the first scalar, must be RISTRETTO255_SCALAR_BYTES bytesy- the second scalar (encoded)
-
cryptoCoreRistretto255ScalarAdd
abstract BigInteger cryptoCoreRistretto255ScalarAdd(BigInteger x, Array<byte> y)
Adds two scalars
{@code x}and{@code y}modulo{@code L}with{@code L}being the orderof the Ristretto255 group.- Parameters:
x- the first scalary- the second scalar, must be RISTRETTO255_SCALAR_BYTES bytes
-
cryptoCoreRistretto255ScalarAdd
abstract BigInteger cryptoCoreRistretto255ScalarAdd(Array<byte> x, BigInteger y)
Adds two scalars
{@code x}and{@code y}modulo{@code L}with{@code L}being the orderof the Ristretto255 group.- Parameters:
x- the first scalar, must be RISTRETTO255_SCALAR_BYTES bytesy- the second scalar
-
cryptoCoreRistretto255ScalarAdd
abstract BigInteger cryptoCoreRistretto255ScalarAdd(Array<byte> x, Array<byte> y)
Adds two scalars
{@code x}and{@code y}modulo{@code L}with{@code L}being the orderof the Ristretto255 group.- Parameters:
x- the first scalar, must be RISTRETTO255_SCALAR_BYTES bytesy- the second scalar, must be RISTRETTO255_SCALAR_BYTES bytes
-
cryptoCoreRistretto255ScalarSub
abstract BigInteger cryptoCoreRistretto255ScalarSub(BigInteger x, BigInteger y)
Subtracts two scalars
{@code x}and{@code y}modulo{@code L}with{@code L}being theorder of the Ristretto255 group.- Parameters:
x- the first scalary- the second scalar
-
cryptoCoreRistretto255ScalarSub
abstract BigInteger cryptoCoreRistretto255ScalarSub(BigInteger x, String y)
Subtracts two scalars
{@code x}and{@code y}modulo{@code L}with{@code L}being theorder of the Ristretto255 group.- Parameters:
x- the first scalary- the second scalar (encoded)
-
cryptoCoreRistretto255ScalarSub
abstract BigInteger cryptoCoreRistretto255ScalarSub(String x, BigInteger y)
Subtracts two scalars
{@code x}and{@code y}modulo{@code L}with{@code L}being theorder of the Ristretto255 group.- Parameters:
x- the first scalar (encoded)y- the second scalar
-
cryptoCoreRistretto255ScalarSub
abstract BigInteger cryptoCoreRistretto255ScalarSub(String x, String y)
Subtracts two scalars
{@code x}and{@code y}modulo{@code L}with{@code L}being theorder of the Ristretto255 group.- Parameters:
x- the first scalar (encoded)y- the second scalar (encoded)
-
cryptoCoreRistretto255ScalarSub
abstract BigInteger cryptoCoreRistretto255ScalarSub(String x, Array<byte> y)
Subtracts two scalars
{@code x}and{@code y}modulo{@code L}with{@code L}being theorder of the Ristretto255 group.- Parameters:
x- the first scalar (encoded)y- the second scalar, must be RISTRETTO255_SCALAR_BYTES bytes
-
cryptoCoreRistretto255ScalarSub
abstract BigInteger cryptoCoreRistretto255ScalarSub(Array<byte> x, String y)
Subtracts two scalars
{@code x}and{@code y}modulo{@code L}with{@code L}being theorder of the Ristretto255 group.- Parameters:
x- the first scalar, must be RISTRETTO255_SCALAR_BYTES bytesy- the second scalar (encoded)
-
cryptoCoreRistretto255ScalarSub
abstract BigInteger cryptoCoreRistretto255ScalarSub(BigInteger x, Array<byte> y)
Subtracts two scalars
{@code x}and{@code y}modulo{@code L}with{@code L}being theorder of the Ristretto255 group.- Parameters:
x- the first scalary- the second scalar, must be RISTRETTO255_SCALAR_BYTES bytes
-
cryptoCoreRistretto255ScalarSub
abstract BigInteger cryptoCoreRistretto255ScalarSub(Array<byte> x, BigInteger y)
Subtracts two scalars
{@code x}and{@code y}modulo{@code L}with{@code L}being theorder of the Ristretto255 group.- Parameters:
x- the first scalar, must be RISTRETTO255_SCALAR_BYTES bytesy- the second scalar
-
cryptoCoreRistretto255ScalarSub
abstract BigInteger cryptoCoreRistretto255ScalarSub(Array<byte> x, Array<byte> y)
Subtracts two scalars
{@code x}and{@code y}modulo{@code L}with{@code L}being theorder of the Ristretto255 group.- Parameters:
x- the first scalar, must be RISTRETTO255_SCALAR_BYTES bytesy- the second scalar, must be RISTRETTO255_SCALAR_BYTES bytes
-
cryptoCoreRistretto255ScalarMul
abstract BigInteger cryptoCoreRistretto255ScalarMul(BigInteger x, BigInteger y)
Multiplies two scalars
{@code x}and{@code y}modulo{@code L}with{@code L}being theorder of the Ristretto255 group.- Parameters:
x- the first scalary- the second scalar
-
cryptoCoreRistretto255ScalarMul
abstract BigInteger cryptoCoreRistretto255ScalarMul(BigInteger x, String y)
Multiplies two scalars
{@code x}and{@code y}modulo{@code L}with{@code L}being theorder of the Ristretto255 group.- Parameters:
x- the first scalary- the second scalar (encoded)
-
cryptoCoreRistretto255ScalarMul
abstract BigInteger cryptoCoreRistretto255ScalarMul(String x, BigInteger y)
Multiplies two scalars
{@code x}and{@code y}modulo{@code L}with{@code L}being theorder of the Ristretto255 group.- Parameters:
x- the first scalar (encoded)y- the second scalar
-
cryptoCoreRistretto255ScalarMul
abstract BigInteger cryptoCoreRistretto255ScalarMul(String x, String y)
Multiplies two scalars
{@code x}and{@code y}modulo{@code L}with{@code L}being theorder of the Ristretto255 group.- Parameters:
x- the first scalar (encoded)y- the second scalar (encoded)
-
cryptoCoreRistretto255ScalarMul
abstract BigInteger cryptoCoreRistretto255ScalarMul(String x, Array<byte> y)
Multiplies two scalars
{@code x}and{@code y}modulo{@code L}with{@code L}being theorder of the Ristretto255 group.- Parameters:
x- the first scalar (encoded)y- the second scalar, must be RISTRETTO255_SCALAR_BYTES bytes
-
cryptoCoreRistretto255ScalarMul
abstract BigInteger cryptoCoreRistretto255ScalarMul(Array<byte> x, String y)
Multiplies two scalars
{@code x}and{@code y}modulo{@code L}with{@code L}being theorder of the Ristretto255 group.- Parameters:
x- the first scalar, must be RISTRETTO255_SCALAR_BYTES bytesy- the second scalar (encoded)
-
cryptoCoreRistretto255ScalarMul
abstract BigInteger cryptoCoreRistretto255ScalarMul(BigInteger x, Array<byte> y)
Multiplies two scalars
{@code x}and{@code y}modulo{@code L}with{@code L}being theorder of the Ristretto255 group.- Parameters:
x- the first scalary- the second scalar, must be RISTRETTO255_SCALAR_BYTES bytes
-
cryptoCoreRistretto255ScalarMul
abstract BigInteger cryptoCoreRistretto255ScalarMul(Array<byte> x, BigInteger y)
Multiplies two scalars
{@code x}and{@code y}modulo{@code L}with{@code L}being theorder of the Ristretto255 group.- Parameters:
x- the first scalar, must be RISTRETTO255_SCALAR_BYTES bytesy- the second scalar
-
cryptoCoreRistretto255ScalarMul
abstract BigInteger cryptoCoreRistretto255ScalarMul(Array<byte> x, Array<byte> y)
Multiplies two scalars
{@code x}and{@code y}modulo{@code L}with{@code L}being theorder of the Ristretto255 group.- Parameters:
x- the first scalar, must be RISTRETTO255_SCALAR_BYTES bytesy- the second scalar, must be RISTRETTO255_SCALAR_BYTES bytes
-
-
-
-