tagion v1.0.3-rc1 (2023-12-18T15:15:15Z)
Dub
Repo
NativeSecp256k1.createKeyPair
tagion
crypto
secp256k1
NativeSecp256k1
NativeSecp256k1
Undocumented in source.
void
createKeyPair
(const(ubyte[]) seckey, secp256k1_keypair keypair)
void
createKeyPair
(const(ubyte[]) seckey, ubyte[] keypair)
class
NativeSecp256k1
@
trusted
final const
void
createKeyPair
(
const
(
ubyte
[])
seckey
,
out
ubyte
[]
keypair
)
in (seckey.length == SECKEY_SIZE || seckey.length == secp256k1_keypair.data.length)
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