0CodeKit icon

0CodeKit

A toolbox of no-code utilities

Actions132

Crypto → Decrypt Text

AI-generated

Overview

The node provides cryptographic utilities, specifically here focusing on decrypting text that was previously encrypted. It supports multiple encryption algorithms such as AES, DES, TripleDES, Rabbit, RC4, and RC4Drop. This node is useful when you need to securely handle encrypted data within an automation workflow, for example, decrypting sensitive information received from external systems or stored in databases before further processing.

Practical examples include:

  • Decrypting confidential messages or tokens before using them in subsequent API calls.
  • Handling encrypted user data safely within workflows.
  • Integrating with systems that require specific encryption algorithms for secure communication.

Properties

Name Meaning
Encrypted Text The ciphertext string that you want to decrypt. Example: U2FsdGVkX1+F...
Secret Key The secret key used to perform the decryption. This should match the key used for encryption.
Encryption Algorithm The cryptographic algorithm to use for decryption. Options: AES, DES, TripleDES, Rabbit, RC4, RC4Drop

Output

The node outputs a JSON object containing the decrypted text result. The exact structure is not explicitly shown in the source, but typically it will have a field holding the plaintext string obtained after decryption.

If the node supported binary output (e.g., files), it would be summarized here, but this node focuses on textual decryption only.

Dependencies

  • Requires an active connection to the 0CodeKit API service at https://prod.0codekit.com.
  • Needs an API authentication token credential configured in n8n to authorize requests to the service.
  • No local cryptographic libraries are used; all cryptographic operations are performed via the external API.

Troubleshooting

  • Incorrect Secret Key: If the secret key does not match the one used during encryption, the output will be invalid or an error may occur.
  • Unsupported Ciphertext Format: Providing improperly formatted ciphertext can cause decryption failure.
  • Algorithm Mismatch: Using a different algorithm than the one used for encryption will result in incorrect decryption.
  • API Connectivity Issues: Network problems or invalid API credentials will prevent the node from functioning.
  • Error Messages: Common errors might include authentication failures, invalid parameters, or server errors from the external API. Verify credentials, input values, and network connectivity.

Links and References

Discussion