Blowfish Encrypt
This Snap encrypts the binary documents it receives on its input view using the Blowfish algorithm and user-specified encryption parameters.
The default security in the JRE limits the key length for encryption keys. For stronger encryption keys, you must manually install the Java Cryptographic Extension JARs on your JCC nodes.

Transform-type Snap
Works in Ultra Tasks
Snap views
| View | Description | Examples of upstream and downstream Snaps |
|---|---|---|
| Input (binary) | Accepts binary documents through its single input view. These are the unencrypted binary documents that will be encrypted using the Blowfish algorithm and user-specified encryption parameters. | |
| Output (binary) | Outputs the encrypted binary documents through its single output view. The documents are encrypted using the Blowfish algorithm with the user-specified encryption parameters configured in the Snap. | |
| 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 JavaScript syntax to access SnapLogic Expressions to set field values dynamically (if enabled). If disabled, you can provide a static value. Learn more.
- 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: Blowfish Encrypt Example: Blowfish Encrypt |
| Password | String | Specify the string to generate a secret key and an initialization vector. If
the secret key property is set, the password is ignored. Note:
Default value: N/A Example: K1qjoeFQTr |
| Secret key | String | Specify the secret key to use for encryption. Note:
Default value: N/A Example: N0FzAAe4qtY= |
| Initialization vector | String | Specify the initialization vector used for encryption. It should be in
hexadecimal format, and is not used in ECB mode. Default value: N/A Example: 296151aacf89c87f |
| Cipher mode | Dropdown list |
Specify the mode of operation for a block cipher. The available options include: ECB, CBC, PCBC, CTR, CTS, CFB, CFB8, CFB16, CFB24, CFB32, CFB40, CFB48, CFB56, CFB64, OFB, OFB8, OFB16, OFB24, OFB32, OFB40, OFB48, OFB56, OFB64. Default value: ECB Example: CFB |
| Encryption padding | Dropdown list | Select the encryption padding. The available options include:
Note: When you select the 'NOPADDING' option, the data is processed in blocks
of the same size. It ignores the characters in the end if those are less than the
size of the block. As a result, there is a chance of of losing characters at the
end. Default value: PKCS5PADDING Example: NOPADDING |
| 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 |