Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Snap type:

Transform


Description:

This Snap encrypts 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.


Prerequisites:

[None]


Support and limitations:Ultra pipelines: Works in Ultra Pipelines.
  • Spark mode: Not supported in /wiki/spaces/SD/pages/1437917 mode.
  • 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 this type of account.


    Views:


    InputThis Snap has exactly one binary input view.
    OutputThis Snap has exactly one binary output view.
    ErrorThis Snap has at most one binary error view and produces binaries in the view.


    Settings

    Label



    Insert excerpt
    SPD:Snap Label
    SPD:Snap Label
    nopaneltrue

    Password



    The string used to generate a secret key and an initialization vector.

    Note

    If Password is set, the Secret key is ignored.

    Example: K1qjoeFQTr

    Secret key


    The secret key used for encryption.

    Note

    If Password is set, the Secret key is ignored.

    Example: VsWLDQMvz9LaCaB3aaDHBw==

    Initialization vector


    The initialization vector used for encryption. It should be in hexadecimal format, and is not used in ECB mode.
    Example: 6df68cdf3a6c48b2fde727541f3cecc

    Cipher mode

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

    Default value: ECB

    Encryption padding

    Required. The encryption padding. 

    The available options include: PKCS5PADDING, ISO10126PADDING, NOPADDING.

    Default value: PKCS5PADDING

    Multiexcerpt include macro
    nameSnap Execution
    pageAnaplan Read


    Multiexcerpt include macro
    nameSnap_Execution_Introduced
    pageAnaplan Read


    Insert excerpt
    Binary Snap Pack
    Binary Snap Pack
    nopaneltrue