Skip to content

Encryption Activity

The Encryption activity transforms intelligible data into an incomprehensible format using a specified encryption method. This is a double-sided encryption process, meaning encrypted data can be decrypted later with the correct key.

Field Description Requirement
Plain text The unencrypted string data to be transformed. Required
Encryption type The cryptographic algorithm to use (e.g., AES, DES, TripleDES). Required
Result cipher text The variable name to store the encrypted output. Required
Key The secret key required for the encryption process. Required

Action Types & Examples

Plain text

  • Format: string
  • Example Result: "Hello, this is the text string I want encrypted."

Encryption type

  • Format: string
  • Example Result: "AES"

Result cipher text

  • Format: string (variable name)
  • Example Result: "encryptedDataOutput"

Key

  • Format: string (key value)
  • Example Result: "mySecretKey1234567890123456789012"

Implementation Examples

Field Setup - Plain text: Hello, this is the text string I want encrypted. - Encryption type: AES - Result cipher text: encryptedDataOutput - Key: mySecretKey1234567890123456789012

Execution Parameters - plainText: "Hello, this is the text string I want encrypted." - encryptionType: "AES" - resultCipherText: "encryptedDataOutput" - key: "mySecretKey1234567890123456789012"

Technical Notes

You can define a key using the Generate key activity or any external key creator tool. AES accepts 16-byte (128-bit) or 32-byte (256-bit) keys. DES accepts 8-byte (64-bit) keys. TripleDES accepts 24-byte (192-bit) keys.