tagion v1.0.3-rc1 (2023-12-18T15:15:15Z)
Dub
Repo
NativeSecp256k1.verify
tagion
crypto
secp256k1
NativeSecp256k1
NativeSecp256k1
Undocumented in source.
bool
verify
(const(ubyte[]) msg, const(ubyte[]) signature, const(ubyte[]) pubkey)
bool
verify
(const(ubyte[]) signature, const(ubyte[]) msg, const(secp256k1_pubkey) pubkey)
class
NativeSecp256k1
@
trusted
final const nothrow
bool
verify
(
const
(
ubyte
[])
signature
,
const
(
ubyte
[])
msg
,
ref
scope
const
(
secp256k1_pubkey
)
pubkey
)
in (msg.length == MESSAGE_SIZE)
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