1. Docs
  2. Formulas
  3. Functions

RSA_ENCRYPT

Encrypts 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_ENCRYPT(plain_message, key, [padding: "PKCS1_PADDING"])

Examples

Example 1

Formula

RSA_ENCRYPT(plain_message, key)

Output

"Encrypted data"

Example 2

Formula

RSA_ENCRYPT(plain_message, key, padding: "PKCS1_PADDING")

Output

"Encrypted data"

Sample actions

Event Transform
pems
Event Transform
encrypt 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?