.. _auto_openssl_encrypt: *ENCRYPT TEXT USING OPENSSL* ============================ Encrypts a plain-text string using OpenSSL with a caller-supplied key and hashing/cipher method. Use this worker whenever sensitive string data must be encrypted before storage or transmission within a workflow. When to use ----------- Tagged: ``cipher``, ``encrypt``, ``hashing``, ``openssl``, ``security``, ``sha1``, ``text_encryption``. Inputs ------ .. list-table:: :header-rows: 1 :widths: 20 20 20 20 20 20 * - Label - ID - Type - Default - Required - Description * - Text - text - text - — - ✓ - Plain-text string to be encrypted; required and must be non-empty. * - Key - key - textarea - — - ✓ - Secret key (passphrase) used by OpenSSL to encrypt the text; treat this value as a credential and never log it. * - Method - method - text - sha1 - ✓ - OpenSSL cipher or digest method to apply (e.g. 'sha1', 'aes-256-cbc'); defaults to 'sha1' if left unchanged. Outputs ------- .. list-table:: :header-rows: 1 :widths: 20 20 20 20 * - Label - ID - Type - Description * - Encrypted Text - encrypted_text - textarea - Base64-encoded or hex-encoded ciphertext produced by OpenSSL after applying the chosen method and key. * - Method - method - text - Echo of the cipher/digest method that was actually used for the encryption, useful for downstream decryption steps. * - Seed - seed - text - Random seed or initialisation vector (IV) generated during encryption; required for deterministic decryption and should be stored alongside the encrypted text. Disciplines ----------- - platform.integration .. raw:: html
Auto-generated from platform schema. Worker id: openssl_encrypt. Schema hash: bada958dff5d. Hand-curated docs in workerexamples/ override this page when present.