tagion v1.0.3-rc1 (2023-12-18T15:15:15Z)
Dub
Repo
NativeSecp256k1.getPubkey
tagion
crypto
secp256k1
NativeSecp256k1
NativeSecp256k1
Takes both a seckey and keypair
void
getPubkey
(const(secp256k1_keypair) keypair, secp256k1_pubkey pubkey)
immutable
(
ubyte
[])
getPubkey
(const(ubyte[]) keypair_seckey)
class
NativeSecp256k1
@
trusted
final const
immutable
(
ubyte
[])
getPubkey
(
scope
const
(
ubyte
[])
keypair_seckey
)
in (keypair_seckey.length == secp256k1_keypair.data.length || keypair_seckey.length == SECKEY_SIZE)
immutable
(
ubyte
[])
getPubkey
(const(secp256k1_keypair) 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
Takes both a seckey and keypair