public abstract class Ed448
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
PUBLIC_KEY_SIZE |
static int |
SECRET_KEY_SIZE |
static int |
SIGNATURE_SIZE |
Constructor and Description |
---|
Ed448() |
Modifier and Type | Method and Description |
---|---|
static void |
generatePublicKey(byte[] sk,
int skOff,
byte[] pk,
int pkOff) |
static void |
precompute() |
static void |
sign(byte[] sk,
int skOff,
byte[] ctx,
byte[] m,
int mOff,
int mLen,
byte[] sig,
int sigOff) |
static void |
sign(byte[] sk,
int skOff,
byte[] pk,
int pkOff,
byte[] ctx,
byte[] m,
int mOff,
int mLen,
byte[] sig,
int sigOff) |
static boolean |
verify(byte[] sig,
int sigOff,
byte[] pk,
int pkOff,
byte[] ctx,
byte[] m,
int mOff,
int mLen) |
public static final int PUBLIC_KEY_SIZE
public static final int SECRET_KEY_SIZE
public static final int SIGNATURE_SIZE
public static void generatePublicKey(byte[] sk, int skOff, byte[] pk, int pkOff)
public static void precompute()
public static void sign(byte[] sk, int skOff, byte[] ctx, byte[] m, int mOff, int mLen, byte[] sig, int sigOff)
public static void sign(byte[] sk, int skOff, byte[] pk, int pkOff, byte[] ctx, byte[] m, int mOff, int mLen, byte[] sig, int sigOff)
public static boolean verify(byte[] sig, int sigOff, byte[] pk, int pkOff, byte[] ctx, byte[] m, int mOff, int mLen)