NativeSecp256k1.verify

Verifies a Schnorr signature

class NativeSecp256k1
@trusted final const nothrow pure
bool
verify
(
const(ubyte[]) msg
,
const(ubyte[]) signature
,
const(ubyte[]) pubkey
)
in (signature.length == SIGNATURE_SIZE)

Parameters

msg const(ubyte[])

The message which was signed, must be exactly 32 bytes

signature const(ubyte[])

The signature