digest.hmac_sha1_base64

STRINGdigest.hmac_sha1_base64STRINGkeySTRINGs

Available inall subroutines.

Returns a SHA-1-based message authentication code based on the supplied key and string s. The returned code is Base64-encoded.

Example

declare local var.hmac_sha1_base64 STRING;
set var.hmac_sha1_base64 = digest.hmac_sha1_base64("key", "input");
# var.hmac_sha1_base64 is now "hRO7NVB2zOKuXrnzmatcr9unyKI="