Skip to content

Decryption Activity

The Decryption activity reverses an encryption method to make previously encrypted data comprehensible. It employs a double-sided encryption approach, enabling decryption of data using a specific cryptographic key.

Field Description Requirement
Cipher Text The variable containing the encrypted data to be decrypted. Required
Decryption Type The encryption algorithm used for decryption (e.g., AES, DES, TripleDES). Required
Result Plain Text The variable where the decrypted, plain text data will be stored. Required
Key The cryptographic key used for decryption. This key must precisely match the key used during the encryption process. Required

Action Types & Examples

Cipher Text

  • Format: string
  • Example Result: encryptedData

Decryption Type

  • Format: string
  • Example Result: "AES"

Result Plain Text

  • Format: string
  • Example Result: decryptedOutput

Key

  • Format: string
  • Example Result: myDecryptionKey

Implementation Examples

Field Setup - Cipher Text: ${encryptedData} - Decryption Type: AES - Result Plain Text: decryptedResult - Key: encryptionKeyVariable

Execution Parameters - cipherText: "${encryptedData}" - decryptionType: "AES" - resultPlainText: "decryptedResult" - key: "encryptionKeyVariable"

Technical Notes

You must use the exact same key in the Decryption activity as was used in the Encryption activity. Keys can be defined using the Generate Key activity or any external key creator tool.

Specific key length requirements for common algorithms are: * AES accepts 16 or 32-bit keys. * DES accepts 8-bit keys. * TripleDES accepts 24-bit keys.