# verifierKeysEqual

> For the complete documentation index, see [llms.txt](https://docs.midnight.network/llms.txt)

[**Midnight.js API Reference v4.1.0**](https://docs.midnight.network/api-reference/midnight-js.md)

***

[Midnight.js API Reference](https://docs.midnight.network/api-reference/midnight-js/packages.md) / [@midnight-ntwrk/midnight-js-contracts](https://docs.midnight.network/api-reference/midnight-js/@midnight-ntwrk/midnight-js-contracts.md) / verifierKeysEqual

# Function: verifierKeysEqual()

> **verifierKeysEqual**(`a`, `b`): `boolean`

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

## Parameters[​](#parameters "Direct link to Parameters")

### a[​](#a "Direct link to a")

`Uint8Array`

First verifier key.

### b[​](#b "Direct link to b")

`Uint8Array`

Second verifier key.

## Returns[​](#returns "Direct link to Returns")

`boolean`
