Changes for page Base64 encoding
Last modified by Danniar Firdausy on 2024/09/17 21:22
From version 12.1
edited by eMagiz
on 2022/06/09 13:09
on 2022/06/09 13:09
Change comment:
There is no comment for this version
To version 18.1
edited by Eva Torken
on 2023/08/10 15:52
on 2023/08/10 15:52
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.e Magiz1 +XWiki.etorken - Default language
-
... ... @@ -1,0 +1,1 @@ 1 +en - Content
-
... ... @@ -1,15 +1,9 @@ 1 1 {{container}} 2 2 {{container layoutStyle="columns"}} 3 -((( 3 +(((Most of the time, you can use the standard tooling of eMagiz to manipulate the data so that it makes sense for the (external) party that receives the data. However, sometimes there are cases in which you need a little bit of extra complexity. This microlearning will explain one of those more complex scenarios. In this microlearning, we will learn how to use base64 encoding on your (input) message. This functionality is beneficial when the message is not encoded, but you need to send the data encoded to the external party. 4 4 5 +Should you have any questions, please get in touch with [[academy@emagiz.com>>mailto:academy@emagiz.com]]. 5 5 6 -Most of the time, you can use the standard tooling of eMagiz to manipulate the data so that it makes sense for the (external) party that receives the data. However, sometimes there are cases in which you need a little bit of extra complexity. This microlearning will explain one of those more complex scenarios. In this microlearning, we will learn how to use base64 encoding on your (input) message. This functionality is beneficial when the message is not encoded, but you need to send the data encoded to the external party. 7 - 8 -Should you have any questions, please get in touch with academy@emagiz.com. 9 - 10 -* Last update: August 26th, 2021 11 -* Required reading time: 5 minutes 12 - 13 13 == 1. Prerequisites == 14 14 15 15 * Basic knowledge of the eMagiz platform ... ... @@ -24,10 +24,8 @@ 24 24 * Encoding (and decoding) of base64 strings take up additional memory (up to 33%) 25 25 * Separate integration for the base64 strings apart from metadata is advisable 26 26 * The component in eMagiz needs a base64 encoded string as input 27 -* Multiple times encoding and e ncoding in the same integration is **not** advisable21 +* Multiple times encoding and decoding in the same integration is **not** advisable 28 28 29 - 30 - 31 31 == 3. Base64 encoding == 32 32 33 33 Most of the time, you can use the standard tooling of eMagiz to manipulate the data so that it makes sense for the (external) party that receives the data. However, sometimes there are cases in which you need a little bit of extra complexity. This microlearning will explain one of those more complex scenarios. In this microlearning, we will learn how to use base64 encoding on your (input) message. This functionality is beneficial when the message is not encoded, but you need to send the data encoded to the external party. ... ... @@ -37,9 +37,9 @@ 37 37 * Encoding (and decoding) of base64 strings take up additional memory (up to 33%) 38 38 * Separate integration for the base64 strings apart from metadata is advisable 39 39 * The component in eMagiz needs a base64 encoded string as input 40 -* Multiple times encoding and e ncoding in the same integration is **not** advisable32 +* Multiple times encoding and decoding in the same integration is **not** advisable 41 41 42 -The Base64 encode algorithm converts the original string into a base64 encoded string. Technically, it can be said that it converts eight-bit bytes into six-bit bytes. So when you have a string of ABC, you could manually convert this to an encoded format. You can find an excellent explanation of how it works [here ](https://base64.guru/learn/base64-algorithm/encode). Luckily for us, eMagiz will do all the heavy lifting, and we do not have to take out pen and paper.34 +The Base64 encode algorithm converts the original string into a base64 encoded string. Technically, it can be said that it converts eight-bit bytes into six-bit bytes. So when you have a string of ABC, you could manually convert this to an encoded format. You can find an excellent explanation of how it works [[here>>https://base64.guru/learn/base64-algorithm/encode||target="blank"]]. Luckily for us, eMagiz will do all the heavy lifting, and we do not have to take out pen and paper. 43 43 44 44 In the remainder of this microlearning, we will look at how you could implement this logic within the eMagiz tooling. 45 45 ... ... @@ -57,34 +57,21 @@ 57 57 58 58 Now that we know how to implement it, we can quickly look at possible use cases for this logic. We see this logic popping up mainly when dealing with attachments/files (i.e., pictures, pdf) within XML messages. 59 59 60 -== 4. Assignment ==52 +== 4. Key takeaways == 61 61 62 -Look for places where you could use this logic to aid your integration process within your (Academy) project. 63 -This assignment can be completed with the help of your (Academy) project you have created/used in the previous assignment. 64 - 65 -== 5. Key takeaways == 66 - 67 67 Essential characteristics of this functionality are: 68 68 69 69 * Encoding (and decoding) of base64 strings take up additional memory (up to 33%) 70 70 * Separate integration for the base64 strings apart from metadata is advisable 71 71 * The component in eMagiz needs a base64 encoded string as input 72 -* Multiple times encoding and e ncoding in the same integration is **not** advisable59 +* Multiple times encoding and decoding in the same integration is **not** advisable 73 73 61 +== 5. Suggested Additional Readings == 74 74 75 - 76 -== 6. Suggested Additional Readings == 77 - 78 78 If you are interested in this topic and want more information, please read the help text provided by eMagiz and the following links: 79 79 80 -* https://base64.guru/learn/base64-algorithm/encode 81 -* https://www.base64encode.org/ 82 - 83 -== 7. Silent demonstration video == 84 - 85 -This video demonstrates how you could have handled the assignment and gives you some context on what you have just learned. 86 - 87 -{{video attachment="intermediate-data-handling-base64-encode.mp4" reference="Main.Videos.Microlearning.WebHome"/}} 65 +* [[Encode Algorithm>>https://base64.guru/learn/base64-algorithm/encode||target="blank"]] 66 +* [[Base64 Encoding Online>>https://www.base64encode.org/||target="blank"]] 88 88 ))) 89 89 90 90 ((({{toc/}}))){{/container}}