/**
* Compares two byte arrays without data-dependent branches.
* Returns true if they match.
*/export function verifyData(a, b) {
const length = a.length
if (length !== b.length) returnfalseletout = 0for (let i = 0; i < length; ++i) out |= a[i] ^ b[i]
returnout === 0
}