public final class Curve25519 extends Object
| Modifier and Type | Method | Description |
|---|---|---|
static void |
eval(byte[] result,
int offset,
byte[] privateKey,
byte[] publicKey) |
Evaluates the Curve25519 curve.
|
public static void eval(byte[] result,
int offset,
byte[] privateKey,
byte[] publicKey)
result - Buffer to place the result of the evaluation into.offset - Offset into the result buffer.privateKey - The private key to use in the evaluation.publicKey - The public key to use in the evaluation, or null
if the base point of the curve should be used.