We've been making changes to how we organize and display our docs. Our work isn't done but we'd love your feedback.

digest.hmac_sha1_base64()

Hash-based message authentication code using SHA-1. Returns a Base64-encoded string.

Format

STRING
digest.hmac_sha1_base64(STRING key, STRING input)

Examples

1
2
3
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="