Decrypt Values node
The Decrypt Values node is used to decrypt one or more values using a selected encryption algorithm.
This node is available in: Authentication, Admin, Self Service, API, Consent, Library, Custom, User Defined
Node configurations
-
Encryption Algorithm and Key: The configuration of the Decrypt Values node depends on the selected encryption algorithm. Each algorithm requires specific parameters to correctly perform the decryption.
-
AES Encryption key: Specify the secret key used for symmetric encryption. The same key is required for both encryption and decryption.
-
Public Encrypt: Uses a public key to encrypt data, the encrypted data can only be decrypted using the corresponding private key.
-
Public key: The public key used to perform the encryption/decryption.
-
OAEP Hash: Specify the hash algorithm used in the OAEP padding scheme (e.g., SHA-1, SHA-256).
-
OAEP Label: Optional label used in OAEP padding. It must match the label used during decryption.
-
Passphrase: Used to decrypt the public key if it is protected.
-
Padding: Define the padding scheme used for encryption:
-
RSA_NO_PADDING: No padding (not recommended)
-
RSA_PKCS1_PADDING: PKCS#1 v1.5 padding
-
RSA_PKCS1_OAEP_PADDING: OAEP padding (recommended for security)
-
-
Encoding: Specify the encoding format of the encrypted output (e.g., Base64, Hex).
-
-
Private Encrypt: Uses a private key to encrypt data. This is typically used for scenarios like digital signatures.
- Private Key: The private key used to perform the encryption/decryption.
- Passphrase: Passphrase used to decrypt the public key if it is protected.
-
Padding: Define the padding scheme used for encryption:
- RSA_NO_PADDING: No padding (not recommended)
- RSA_PKCS1_PADDING: PKCS#1 v1.5 padding
- RSA_PKCS1_OAEP_PADDING: OAEP padding (recommended for security)
-
Encoding: Specify the encoding format of the encrypted output (e.g., Base64, Hex).
-
Values: Define one or more elements as key-value pairs that need to be decrypted.
- Extended View: By enabling the Extended View, the input field enables language specific formatting. When a language is selected, the content is displayed and formatted accordingly (e.g., syntax highlighting or structured layout), improving readability and editing. The content itself is not modified, it only affects how it is presented and edited.
Save in the flow store
Attributes generated or retrieved from the node can be saved into a variable.
They can then be reused by other nodes in the flow by referencing them as {{variable.attribute}}.
To do this you choose attributes that need to be stored in the variable, and in the flow store (All attributes exposed by the node are listed in a multi-select dropdown, allowing the user to choose one or more of them), then a variable name that can be freely defined by the user.
There is also a flag to make the variable available to the frontend.
Default output node
- Success
- Failure
JSON metadata
{
"name": "decypher_values",
"active": true,
"bundleName": "default-nodes",
"bundleVersion": "1.0",
"category": "encryption_signing",
"deprecated": false,
"displayName": [{
"lang": "en",
"value": "Decrypt Values"
}, {
"lang": "it",
"value": "Decrypt Values"
}
],
"nodeName": "DecypherValues",
"index": 9,
"inputs": [{
"name": "Input"
}
],
"outputs": [{
"name": "Success",
"level": "success"
}, {
"name": "Failure",
"level": "error"
}
]
}