tagion v1.0.3-rc1 (2023-12-18T15:15:15Z)
Dub
Repo
NativeSecp256k1.sign
tagion
crypto
secp256k1
NativeSecp256k1
NativeSecp256k1
Undocumented in source. Be warned that the author may not have intended to support it.
immutable
(
ubyte
[])
sign
(const(ubyte[]) msg, const(secp256k1_keypair) keypair, const(ubyte[]) aux_random)
immutable
(
ubyte
[])
sign
(const(ubyte[]) msg, const(ubyte[]) keypair, const(ubyte[]) aux_random)
immutable
(
ubyte
[])
sign
(const(ubyte[]) msg, const(ubyte[]) keypair)
class
NativeSecp256k1
final const
immutable
(
ubyte
[])
sign
(
const
(
ubyte
[])
msg
,
scope
const
(
ubyte
[])
keypair
)
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