function constantTimeEqualBytes
constantTimeEqualBytes(): boolean

Constant-time comparison for Uint8Arrays of equal length Caller must ensure arrays have the same length (validated by verifyPassword)

Parameters

Return Type

boolean

Usage

import { constantTimeEqualBytes } from "doc.ts";