Verify an HMAC signature using the Web Crypto API.
Verification parameters.
true if the signature is valid.
true
const valid = await verify({ key, data: payload, signature: sig,}); Copy
const valid = await verify({ key, data: payload, signature: sig,});
Verify an HMAC signature using the Web Crypto API.