function constantTimeEqual constantTimeEqual(a: string,b: string,): boolean Constant-time string comparison to prevent timing attacks Always iterates over the longer string and XORs the lengths so that different-length inputs don't leak via an early return. Parameters a: string b: string Return Type boolean