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.

Syntax 

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

Usage 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 

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