public class Curve25519 extends Object
Modifier and Type | Field and Description |
---|---|
static int |
KEY_SIZE |
static byte[] |
ORDER |
static byte[] |
PRIME |
static byte[] |
ZERO |
Constructor and Description |
---|
Curve25519() |
Modifier and Type | Method and Description |
---|---|
static void |
clamp(byte[] k)
KEY AGREEMENT
|
static void |
curve(byte[] Z,
byte[] k,
byte[] P) |
static void |
keygen(byte[] P,
byte[] s,
byte[] k) |
static boolean |
sign(byte[] v,
byte[] h,
byte[] x,
byte[] s)
DIGITAL SIGNATURES
|
static void |
verify(byte[] Y,
byte[] v,
byte[] h,
byte[] P) |
public static final int KEY_SIZE
public static final byte[] ZERO
public static final byte[] PRIME
public static final byte[] ORDER
public static final void clamp(byte[] k)
public static final void keygen(byte[] P, byte[] s, byte[] k)
public static final void curve(byte[] Z, byte[] k, byte[] P)
public static final boolean sign(byte[] v, byte[] h, byte[] x, byte[] s)
public static final void verify(byte[] Y, byte[] v, byte[] h, byte[] P)
Copyright © 2024. All rights reserved.