Package com.goterl.lazysodium.interfaces
Interface Ristretto255
-
public interface Ristretto255
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classRistretto255.Checkerstatic interfaceRistretto255.Lazystatic interfaceRistretto255.Nativestatic classRistretto255.RistrettoPoint
-
Field Summary
Fields Modifier and Type Field Description static intRISTRETTO255_BYTESstatic intRISTRETTO255_HASH_BYTESstatic java.math.BigIntegerRISTRETTO255_Lstatic intRISTRETTO255_NON_REDUCED_SCALAR_BYTESstatic intRISTRETTO255_SCALAR_BYTES
-
Method Summary
Static Methods Modifier and Type Method Description static java.math.BigIntegerbytesToScalar(byte[] bytes)static byte[]pointBuffer()static byte[]scalarBuffer()static byte[]scalarToBytes(java.math.BigInteger n)static byte[]scalarToBytes(java.math.BigInteger n, boolean reduced)
-
-
-
Field Detail
-
RISTRETTO255_BYTES
static final int RISTRETTO255_BYTES
- See Also:
- Constant Field Values
-
RISTRETTO255_HASH_BYTES
static final int RISTRETTO255_HASH_BYTES
- See Also:
- Constant Field Values
-
RISTRETTO255_SCALAR_BYTES
static final int RISTRETTO255_SCALAR_BYTES
- See Also:
- Constant Field Values
-
RISTRETTO255_NON_REDUCED_SCALAR_BYTES
static final int RISTRETTO255_NON_REDUCED_SCALAR_BYTES
- See Also:
- Constant Field Values
-
RISTRETTO255_L
static final java.math.BigInteger RISTRETTO255_L
-
-
Method Detail
-
scalarToBytes
static byte[] scalarToBytes(java.math.BigInteger n)
-
scalarToBytes
static byte[] scalarToBytes(java.math.BigInteger n, boolean reduced)
-
bytesToScalar
static java.math.BigInteger bytesToScalar(byte[] bytes)
-
pointBuffer
static byte[] pointBuffer()
-
scalarBuffer
static byte[] scalarBuffer()
-
-