tagion v1.0.3-rc1 (2023-12-18T15:15:15Z)
Dub
Repo
NativeSecp256k1.check
tagion
crypto
secp256k1
NativeSecp256k1
NativeSecp256k1
Undocumented in source. Be warned that the author may not have intended to support it.
class
NativeSecp256k1
static pure
void
check
(
bool
flag
,
ConsensusFailCode
code
,
string
file
= __FILE__
,
size_t
line
= __LINE__
)
Meta
Source
See Implementation
tagion
crypto
secp256k1
NativeSecp256k1
NativeSecp256k1
constructors
this
destructors
~this
functions
cloneContext
createECDHSecret
createKeyPair
getPubkey
getSecretKey
privTweak
pubTweak
randomizeContext
sign
verify
manifest constants
KEYPAIR_SIZE
MESSAGE_SIZE
PUBKEY_SIZE
SECKEY_SIZE
SIGNATURE_SIZE
TWEAK_SIZE
XONLY_PUBKEY_SIZE
static functions
check
variables
_ctx