Snap type:
Transform
Description:
In this article
Table of Contents |
---|
Overview
You can use this Snap to encrypt the binary documents that it receives on its input view using the AES 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 would need to manually install the Java Cryptographic Extension JARs on your JCC nodes. |
- Expected upstream Snaps: Any Snap that produces binary data in the output view such as File Reader or Compress.
- Expected downstream Snaps: Any Snap that accepts binary data in the input view such as File Writer or Decompress.
[None]
Support and limitations:Snap Type
AES Encrypt Snap is a TRANSFORM-type Snap.
Prerequisites
- A valid account with the required permissions.
Support for Ultra Pipelines
Works in Ultra Pipelines.
Limitations and Known Issues
None.
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.
Input | This Snap has exactly one binary input view. |
---|---|
Output | This Snap has exactly one binary output view. |
Error | This Snap has at most one binary error view and produces binaries in the view. |
Settings
Snap Views
Type | Format | Number of Views | Examples of Upstream and Downstream Snaps | Description |
---|---|---|---|---|
Input | Binary |
|
| Requires the EDI data and internal ID as a JSON document. |
Output | Binary |
|
| The EDI transaction ID and order confirmation. |
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 while 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
Field Name | Field Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Label Default Value: AES Encrypt | String |
| |||||||||
Password Default Value: N/A | String | The string used to generate a secret key and an initialization vector.
|
|
Secret key |
Default Value: N/A | String | Specify the secret key used for encryption.
| |||
Initialization vector Default Value: N/A |
6df68cdf3a6c48b2fde727541f3cecc | String | Specify the initialization vector used for encryption. It should be in hexadecimal format, and is not used in ECB mode. | |
Cipher mode* Default Value: ECB |
CFB8 |
Required. The
Dropdown list | Select 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, CFB72, CFB80, CFB88, CFB96, CFB104, CFB112, CFB120, CFB128, OFB, OFB8, OFB16, OFB24, OFB32, OFB40, OFB48, OFB56, OFB64, OFB72, OFB80, OFB88, OFB96, OFB104, OFB112, OFB120, OFB128. | |
Encryption padding* Default |
Required. The
Value:PKCS5PADDING | Dropdown list | Select the encryption padding. |
The available options include: PKCS5PADDING, ISO10126PADDING, NOPADDING. | |
Snap Execution Default |
Value: Validate & Execute | Dropdown list |
|
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|