---
title: RSA_AES_HYBRID_DECRYPT
url: https://www.tines.com/docs/formulas/functions/rsa-aes-hybrid-decrypt/
kind: formula-function
---

*[tines.com](https://www.tines.com/llms.txt) › [Docs](https://www.tines.com/docs/llms.txt) › [Formulas](https://www.tines.com/llm/docs/formulas.md) › [Functions](https://www.tines.com/llm/docs/formulas/functions.md)*

# RSA_AES_HYBRID_DECRYPT

*[View on tines.com](https://www.tines.com/docs/formulas/functions/rsa-aes-hybrid-decrypt/)*

Decrypts data that was encrypted with `RSA_AES_HYBRID_ENCRYPT`, using a provided public or private RSA 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_AES_HYBRID_DECRYPT(encrypted_data_array, key, [padding: "PKCS1_PADDING"])
```

## Examples

### Example 1

Formula:

```
RSA_AES_HYBRID_DECRYPT(encrypted_data_array, key)
```

Output:

```json
"Decrypted message"
```

### Example 2

Formula:

```
RSA_AES_HYBRID_DECRYPT(encrypted_data_array, key, padding: "PKCS1_PADDING")
```

Output:

```json
"Decrypted message"
```
