public class Schnorrkel
extends java.lang.Object
| Constructor and Description |
|---|
Schnorrkel() |
| Modifier and Type | Method and Description |
|---|---|
static Types.Keypair |
schnorrkelKeypairFromSeed(byte[] seed)
Returns a object containing a
publicKey & secretKey generated from the supplied seed. |
static byte[] |
schnorrkelSign(byte[] message,
Types.Keypair keypair)
Returns message signature of
message, using the supplied pair |
static boolean |
schnorrkelVerify(byte[] message,
byte[] signature,
byte[] publicKey)
Verifies the signature of
message, using the supplied pair |
public static Types.Keypair schnorrkelKeypairFromSeed(byte[] seed)
Returns a object containing a publicKey & secretKey generated from the supplied seed.
public static byte[] schnorrkelSign(byte[] message,
Types.Keypair keypair)
Returns message signature of message, using the supplied pair
public static boolean schnorrkelVerify(byte[] message,
byte[] signature,
byte[] publicKey)
Verifies the signature of message, using the supplied pair