TINES_DECRYPT
Decrypts text using Tines encryption. TINES_DECRYPT enforces expiration: attempting to decrypt expired data raises an error. Expiration has second granularity and is subject to clock skew. Arguments:
encrypted: The encrypted ciphertext must be the direct output of TINES_ENCRYPT.
key: A key of at least 32 bytes.
Categories: Encryption
Syntax
TINES_DECRYPT(encrypted, key)
Examples
Example 1
Formula
TINES_DECRYPT(my_action.encrypted_message, CREDENTIAL.secret_key)
Sample actions
Select an action to inspect
You can also click "Copy actions" and paste them in your Tines story to see how they work.