digest.hmac_md5_base64

STRINGdigest.hmac_md5_base64STRINGkeySTRINGs

Available in all subroutines.

Returns an MD5-based message authentication code based on the supplied key and string s. The returned code is Base64-encoded.

Example

declare local var.hmac_md5_base64 STRING;
set var.hmac_md5_base64 = digest.hmac_md5_base64("key", "input");
# var.hmac_md5_base64 is now "cZ/HW66QBNnoQqSxW4KMBg=="

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.