Documentation
Tagion
NativeSecp256k1.sign
tagion
crypto
secp256k1
NativeSecp256k1
NativeSecp256k1
Create a Schnorr signature.
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 pure
immutable
(
ubyte
[])
sign
(
const
(
ubyte
[])
msg
,
scope
const
(
ubyte
[])
keypair
)
Parameters
msg
const
(
ubyte
[])
Message hash, 32 bytes
tagion
crypto
secp256k1
NativeSecp256k1
NativeSecp256k1
destructors
~this
functions
createECDHSecret
getPubkey
privTweak
randomizeContext
sign
verify
Create a Schnorr signature.