Twofish Encrypt
Overview
This Snap encrypts the binary documents that it receives on its input view using the Twofish algorithm and user-specified encryption parameters.

Transform-type Snap
Works in Ultra Tasks
Account
This Snap uses account references created on the Accounts page of the SnapLogic Manager to handle access to this endpoint. This Snap supports a Symmetric crypto account, or no account. See Configuring Binary accounts for information on setting up accounts that work with this Snap.
Snap views
| View | Description | Examples of upstream and downstream Snaps |
|---|---|---|
| Input | This Snap has exactly one binary input view. Stream of binary decrypted data with the encryption details required to encrypt the streaming data. |
|
| Output | This Snap has exactly one binary output view. Stream of binary encrypted data. |
|
| Error |
Error handling is a generic way to handle errors without losing data or failing the Snap execution. You can handle the errors that the Snap might encounter when running the pipeline by choosing one of the following options from the When errors occur list under the Views tab. The available options are:
Learn more about Error handling in Pipelines. |
|
Snap settings
- Expression icon (
): Allows using pipeline parameters to set field values dynamically (if enabled). SnapLogic Expressions are not supported. If disabled, you can provide a static value.
- SnapGPT (
): Generates SnapLogic Expressions based on natural language using SnapGPT. Learn more.
- Suggestion icon (
): Populates a list of values dynamically based on your Snap configuration. You can select only one attribute at a time using the icon. Type into the field if it supports a comma-separated list of values.
- Upload
: Uploads files. Learn more.
| Field / Field set | Type | Description |
|---|---|---|
| Label | String | Required. Specify a unique name for the Snap. Modify this to be more appropriate, especially if more than one of the same Snaps is in the pipeline. Default value: Twofish Encrypt Example: Twofish Encrypt |
| Password | String | The string that is used to generate a secret key and an initialization vector.
If the secret key property is set, the password is ignored. Note: This field is
currently not encrypted at rest and is saved and exported in plaintext. For any
shareable secrets that require encryption at rest, we recommend you use a Secret
key in the
Symmetric Crypto Account
. Using a
Symmetric Crypto Account ensures that your sensitive information is protected and
secure. Example: K1qjoeFQTr |
| Secret key | String | The secret key that is used for encryption. Note: This field is currently not
encrypted at rest and is saved and exported in plaintext. For any shareable
secrets that require encryption at rest, we recommend you use a Secret key in the
Symmetric Crypto Account
. Using a
Symmetric Crypto Account ensures that your sensitive information is protected and
secure. Example: VsWLDQMvz9LaCaB3aaDHBw== |
| Initialization vector | String | The initialization vector that is used for encryption. It should be in
hexadecimal format and should not be used in ECB mode. Example: 6df68cdf3a6c48b2fde727541f3cecc |
| Cipher mode | Dropdown list | The mode of operation for a block cipher. The available options include: ECB, CBC, CFB, CFB8, CFB16, CFB24, CFB32, CFB40, CFB48, CFB56, CFB64, OFB, OFB8, OFB16, OFB24, OFB32, OFB40, OFB48, OFB56, OFB64, SIC. Default value: ECB |
| Encryption padding | Dropdown list | The encryption padding. The available options include: TBCPADDING, PKCS5PADDING, ISO10126PADDING, NOPADDING. Default value: TBCPADDING |
| Snap execution | Dropdown list |
Choose one of the three modes in
which the Snap executes. Available options are:
Default value: Execute only Example: Validate & Execute |