HMAC_SHA256_BASE64

Converts text into a Base64 encoded SHA-256 hash using a hash message authentication code (HMAC).

Syntax 

HMAC_SHA256_BASE64(text, secret)

Usage examples 

Example 1

Input

1
{
2
"my_action": {
3
"message": "This is a private message for your eyes only!"
4
}
5
}

Formula

HMAC_SHA256_BASE64(my_action.message, CREDENTIAL.hmac_secret_key)

Output

"WXlgCrVHiUthhwaxwo3mttQUTGyvwShkUaoEt7g6vok="

Sample Actions 

Event transform
My Action
Event transform
HMAC_SHA256_BASE64

Select an action to inspect.

You can also click "Copy actions" and paste them in your Tines story to see how they work.

Was this helpful?