Package | Description |
---|---|
org.bitcoin |
Modifier and Type | Method and Description |
---|---|
static void |
NativeSecp256k1Util.assertEquals(boolean val,
boolean val2,
String message) |
static void |
NativeSecp256k1Util.assertEquals(int val,
int val2,
String message) |
static void |
NativeSecp256k1Util.assertEquals(String val,
String val2,
String message) |
static byte[] |
NativeSecp256k1.computePubkey(byte[] seckey)
libsecp256k1 Compute Pubkey - computes public key from secret key
|
static byte[] |
NativeSecp256k1.createECDHSecret(byte[] seckey,
byte[] pubkey)
libsecp256k1 create ECDH secret - constant time ECDH calculation
|
static byte[] |
NativeSecp256k1.privKeyTweakAdd(byte[] privkey,
byte[] tweak)
libsecp256k1 PrivKey Tweak-Add - Tweak privkey by adding to it
|
static byte[] |
NativeSecp256k1.privKeyTweakMul(byte[] privkey,
byte[] tweak)
libsecp256k1 PrivKey Tweak-Mul - Tweak privkey by multiplying to it
|
static byte[] |
NativeSecp256k1.pubKeyTweakAdd(byte[] pubkey,
byte[] tweak)
libsecp256k1 PubKey Tweak-Add - Tweak pubkey by adding to it
|
static byte[] |
NativeSecp256k1.pubKeyTweakMul(byte[] pubkey,
byte[] tweak)
libsecp256k1 PubKey Tweak-Mul - Tweak pubkey by multiplying to it
|
static boolean |
NativeSecp256k1.randomize(byte[] seed)
libsecp256k1 randomize - updates the context randomization
|
static byte[] |
NativeSecp256k1.schnorrSign(byte[] data,
byte[] sec) |
static byte[] |
NativeSecp256k1.sign(byte[] data,
byte[] sec)
libsecp256k1 Create an ECDSA signature.
|
static boolean |
NativeSecp256k1.verify(byte[] data,
byte[] signature,
byte[] pub)
Verifies the given secp256k1 signature in native code.
|
Copyright © 2016. All rights reserved.