TypeScript API / laikacms/auth / hashesEqual
Function: hashesEqual()
ts
function hashesEqual(a, b): boolean;Constant-time comparison of two hex-encoded hashes, to avoid timing side-channels.
Parameters
| Parameter | Type |
|---|---|
a | string |
b | string |
Returns
boolean