EMSA.verify

Verify the encoding

interface EMSA
abstract
bool
verify
(
const ref SecureVector!ubyte coded
,
const ref SecureVector!ubyte raw
,
size_t key_bits
)

Parameters

coded SecureVector!ubyte

the received (coded) message representative

raw SecureVector!ubyte

the computed (local, uncoded) message representative

key_bits size_t

the size of the key in bits

Return Value

Type: bool

true if coded is a valid encoding of raw, otherwise false

Meta