1. Docs
  2. Formulas
  3. Functions

RSA_DECRYPT

Decrypts encrypted data using a public or private key. A padding choosing from "PKCS1_PADDING", "PKCS1_OAEP_PADDING" and "SSLV23_PADDING" can be passed in with "PKCS1_PADDING" being the default.

Categories: Encryption

Syntax

RSA_DECRYPT(encrypted_message, key, [padding: "PKCS1_PADDING"])

Examples

Example 1

Formula

RSA_DECRYPT(encrypted_data, key)

Output

"Decrypted message"

Example 2

Formula

RSA_DECRYPT(encrypted_data, key, padding: "PKCS1_PADDING")

Output

"Decrypted data"

Sample actions

Event Transform
pems
Event Transform
encrypt message
Event Transform
decrypt message

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?
RSA_DECRYPT | Docs | Tines