An XML Generator & XML Formatter Snaps example
Here’s an example illustrating the use case of the snaps XML Generator, XML formatter and File writer. The 1st snap “XML Generator” of the pipeline generates a document format data with the given xml input configured in the snap on “Edit XML *” in snap settings. The 2nd snap “XML Formatter” accepts the document format and encapsulates the data into XML formates and provides the the binary output which can be an input to the File writer snap which accepts the binary input. Attached is the .slp for pipeline reference.XMLGenerator_Formatter_2017_03_1.slp (4.1 KB)4.6KViews1like1CommentHow to create an AES key for the AES Snaps?
Step 1: use openssl to create a new AES key. Below is an example of a command and the result. The iv string can be copy and pasted into the Initialization vector field of an AES encryption/decryption snap. $ openssl enc -aes-256-cbc -base64 -k secret -P -md sha1 salt=18F3973C70475135 key=1B76BAE6805E9EEF5C4A34AB26B1D6F68A5CA6965DD1B157AFAD25AE029C4874 iv =8E204167430AA0CD292C35DFB52D86F8 Step 2: The AES encryption/decryption snap required the AES key to be a base64 encoded string. Below is an example of a command and the result of base64-encoding the binary AES key: $ echo "1B76BAE6805E9EEF5C4A34AB26B1D6F68A5CA6965DD1B157AFAD25AE029C4874" | xxd -r -p | base64 G3a65oBenu9cSjSrJrHW9opcppZd0bFXr60lrgKcSHQ= Here’s an screenshot of a settings:3.4KViews1like0Comments