Verify a webhook's HMAC signature
A webhook signature is an HMAC the provider computes over the raw request body with a shared secret. Your server computes the same HMAC and compares: if the two values differ, the request didn't come from the provider or was altered on the way.