If you want to avoid Workers and Snippets, you can use a HMAC (symmetric algorithm only). https://d
If you want to avoid Workers and Snippets, you can use a HMAC (symmetric algorithm only).
https://developers.cloudflare.com/ruleset-engine/rules-language/functions/#hmac-validation
Personally I prefer Snippets a lot more, since you can use ES256 (ECDSA with the P256 curve + SHA256). Using an asymmetric algorithm is so much nicer, since you don't have to worry about the validator ever needing to know what the secret was.
https://developers.cloudflare.com/ruleset-engine/rules-language/functions/#hmac-validation
Personally I prefer Snippets a lot more, since you can use ES256 (ECDSA with the P256 curve + SHA256). Using an asymmetric algorithm is so much nicer, since you don't have to worry about the validator ever needing to know what the secret was.



