verify

Verify a signature sig of message m with public key pk.

@safe nothrow @nogc
bool
verify
(
in ubyte[] signature
,
in ubyte[] m
,
in ubyte[] pk
)
in { assert (signature.length == 64); assert (pk.length == 32); }

Parameters

signature
Type: ubyte[]

64 bytes signature.

m
Type: ubyte[]

The signed message.

pk
Type: ubyte[]

The public key.

Meta