Text Encryption icon

Text Encryption

Basic Text Encryption Node

Overview

The 'Text Encryption' node in n8n is designed to securely encrypt text data within workflows. By utilizing an encryption key, it transforms plaintext input into an encrypted format, ensuring data confidentiality during processing and storage. This node is particularly useful in scenarios where sensitive information needs to be protected, such as encrypting user credentials before storing them in a database or securing messages before transmission over potentially insecure channels.

Use Case Examples

  1. Encrypting user passwords before saving them to a database.
  2. Securing sensitive messages before sending them over email or other communication channels.
  3. Protecting confidential data in automated reports or logs.

Properties

Name Meaning
Encryption Key Specifies the encryption key used to encrypt the input text. This key is essential for both the encryption and decryption processes, ensuring that only authorized parties can access the original data.
Input String Contains the plaintext text that is to be encrypted. This is the data that will undergo the encryption process to produce the secure output.

Output

JSON

  • encryptedText - The resulting encrypted text after applying the specified encryption key to the input string. This output can be used in subsequent workflow steps that require the encrypted data.

Dependencies

  • An API key credential for the encryption service.
  • A secure environment to store and manage the encryption key.

Troubleshooting

  • Ensure that the encryption key is correctly configured and accessible to the node.
  • Verify that the input string is properly formatted and does not contain any unsupported characters.
  • Check for any connectivity issues if the encryption service is external.

Links

  • n8n Crypto Node Documentation - Official documentation for the n8n Crypto node, which provides cryptographic operations including encryption and decryption.
  • PGP Node Documentation - Documentation for the n8n PGP node, offering PGP encryption and decryption capabilities.

Discussion