For the complete documentation index, see llms.txt. This page is also available as Markdown.

AES-256-GCM decrypt

Description

This operation decrypts a base64-encoded AES-256-GCM ciphertext using the provided encryption key. The input must be base64(nonce || ciphertext) as produced by AES-256-GCM encryption.

The AES-256-GCM algorithm encrypts the data so that malicious actors cannot read it, and generates an authentication tag that acts as a tamper-evident seal. If a hacker alters the encrypted data, the tag will immediately alert the receiving system, preventing the data from being used.


Data types

These are the input/output expected data types for this operation:

Input data

- The base64-encoded ciphertext with the nonce prepended.

Output data

- The decrypted strings.


Parameters

These are the parameters you need to configure to use this operation (mandatory parameters are marked with a *):

Encryption Key*

Choose your AES-256 encryption key, base64-encoded from your secrets. It must decode to exactly 32 bytes.

If you need to define a new encryption key, go to your Organization settings and click Secrets. Learn more in this section.


Example

Suppose you want to decrypt a series of strings encrypted with the AES-256-GCM algorithm. To do it:

  1. In your Pipeline, open the required Action configuration and select the input Field.

  2. In the Operation field, choose AES-256-GCM Decrypt.

  3. Choose your Encryption Key from your list of secrets in Onum.

  4. Give your Output field a name and click Save. You'll get your decrypted strings. For example:

Last updated

Was this helpful?