What is your goal?
I am testing out the encryption modules so I can figure out how to store some data in a data store.
What is the problem & what have you tried?
I am creating a test using the AES Encryptor (Advanced) and AES Decryptor (Advanced). I have created my keychain and the data I want to encrypt which is working. The results I have the Data, Initialization Vector, and the Authentication Tag. When I turn around and try to decrypt it I receive an error "invalid Authentication tag length: 24) i see the output from the encryptor the Initialization Vector is hexidecimal. I have tried to convert that and still getting the error message. I will upload pictures below.
Screenshots (scenario flow, module settings, errors)
For GCM Encryption, the Initialization Vector will be converted and output as a Hexadecimal, even if you selected UTF-8.
This is demonstrated by the different IV values in the input/output bundles in the Encryption module, if hexadecimal is NOT selected:
Hence, in the Decryption module, you need to select Hexadecimal, IF you are reusing or directly mapping the Encryption module’s output IV variable.
This is clearly explained in Step 5: Decrypt the message (GCM ciphor algorithm) — AES (Advanced Encryption Standard) - Help Center, which says:
You could also leave the IV field empty in the Encryption module, and one will be generated for you (as a hexadecimal).
If in doubt, always check the documentation first.
For more information, see:
Hope this helps! If you are still having trouble, please provide more details.
— @samliew
Thank you very much. I had not seen that documentation
No problem, glad I could help with your question:
"Data encryption and decryption" 
1. Which was the most helpful post in this thread?
The Make Community guidelines encourages users to try to mark helpful replies as solutions to help keep this forum organised. 
This marks the topic as solved, so that others can:
- save time when browsing the latest activity on the forum, and
- quickly jump to the solution in this topic (from the top)
To do this, simply click the checkbox at the bottom of the post that is the most helpful in answering your question.
|
|
|
 |
Here’s a magic link to a list of your other “unsolved” topics— status:unsolved |
|
2. Have you learnt something new?
Do bookmark this topic so you can easily find and return to this topic in future.

3. Have a different question? Start a new topic.
Do you have a question that is not about "Data encryption and decryption"? Please start a new topic.
Creating a separate topic for each question makes it easier for others with the same problem to search for answers. You are also more likely to receive help sooner as new topics are displayed first on the forum’s “new” page!
— @samliew