Skip to content

AES-256-GCM Encrypt Value Node

Utils/Crypto

AES-256-GCM Encrypt Value

Serializes and encrypts a struct with AES-256-GCM. A fresh nonce is generated internally for every encryption.

crypto_aes_encrypt_valuestd
Inputs4
Outputs2
Security exposure0/10
Packagestd

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

SecurityAttack surface and exposure impact.
0/10High
PrivacyPotential sensitivity of processed data.
0/10High
PerformanceRuntime or resource pressure.
2/10High
GovernancePolicy, audit, or compliance impact.
2/10High
ReliabilityOperational stability considerations.
1/10High
CostExternal or compute cost impact.
0/10High

Input Pins

4

Execute

Execution
exec_in

Encrypt the struct

Key

Byte Array
key

32-byte symmetric key

Sensitive

Value

Struct
value

Struct to encrypt

Sensitive

Associated Data

Struct
associated_data

Optional authenticated metadata stored alongside the ciphertext

Default {}

Output Pins

2

Done

Execution
exec_out

Fires after encryption succeeds

Encrypted

Struct
encrypted

Authenticated encrypted payload with algorithm and generated nonce

EncryptedBytesEncryptedBytes4 fields
versioninteger:uint8required
format uint8min 0max 255
algorithmEncryptionAlgorithmrequired
enum "aes-256-gcm", "xchacha20-poly1305"
nonceArray<integer:uint8>required
itemsinteger:uint8array item
format uint8min 0max 255
ciphertextArray<integer:uint8>required
itemsinteger:uint8array item
format uint8min 0max 255
Schema enforced

Node Info

Internal name
crypto_aes_encrypt_value
Category
Utils/Crypto