Available in all subroutines.
Returns a SHA-256-based message authentication code based on the supplied
key and string
declare local var.hmac_sha256 STRING;set var.hmac_sha256 = digest.hmac_sha256("key", "input");# var.hmac_sha256 is now "0x9e089ec13af881a8ac227a736c3e7c490ea3b4afca0c5f83dff6393b683a72e3"
User contributed notes
We welcome comments that add use cases, ideas, tips, and caveats. All comments will be moderated before publication. To post support questions, visit our support center and we'll find you the help you need.