Blowfish Encrypt

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

Note:

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.



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:

  • Stop Pipeline Execution Stops the current pipeline execution when an error occurs.
  • Discard Error Data and Continue Ignores the error, discards that record, and continues with the remaining records.
  • Route Error Data to Error View Routes the error data to an error view without stopping the Snap execution.

Learn more about Error handling in Pipelines.

Snap settings

Legend:
  • 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.
Learn more about the icons in the Snap settings dialog.
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:
  • If Secret key property is set, the Password is ignored.

  • 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.

Default value: N/A

Example: K1qjoeFQTr

Secret key String Specify the secret key to use for encryption.
Note:
  • If Secret key property is set, the Password is ignored.

  • 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.

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:
  • PKCS5PADDING

  • ISO10126PADDING

  • NOPADDING

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:
  • Validate & Execute: Performs limited execution of the Snap and generates a data preview during pipeline validation. Subsequently, performs full execution of the Snap (unlimited records) during pipeline runtime.
  • Execute only: Performs full execution of the Snap during pipeline execution without generating preview data.
  • Disabled: Disables the Snap and all Snaps that are downstream from it.

Default value: Execute only

Example: Validate & Execute