Skip to main content

@midnight-ntwrk/midnight-js-contracts v0.2.5 • API


Midnight.js API Reference v0.2.5 / @midnight-ntwrk/midnight-js-contracts / verifierKeysEqual

Function: verifierKeysEqual()

verifierKeysEqual(a, b): boolean

Checks that two verifier keys are equal. Does initial length check match for efficiency.

Parameters

a: Uint8Array

First verifier key.

b: Uint8Array

Second verifier key.

Returns

boolean