Changes for page Base64 encoding
Last modified by Danniar Firdausy on 2024/09/17 21:22
From version 19.1
edited by Danniar Firdausy
on 2024/09/04 12:11
on 2024/09/04 12:11
Change comment:
There is no comment for this version
To version 16.1
edited by Erik Bakker
on 2023/01/23 09:01
on 2023/01/23 09:01
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. dfirdausy1 +XWiki.ebakker - Content
-
... ... @@ -18,7 +18,7 @@ 18 18 * Encoding (and decoding) of base64 strings take up additional memory (up to 33%) 19 19 * Separate integration for the base64 strings apart from metadata is advisable 20 20 * The component in eMagiz needs a base64 encoded string as input 21 -* Multiple times encoding and decoding in the same integration is **not** advisable21 +* Multiple times encoding and encoding in the same integration is **not** advisable 22 22 23 23 == 3. Base64 encoding == 24 24 ... ... @@ -29,7 +29,7 @@ 29 29 * Encoding (and decoding) of base64 strings take up additional memory (up to 33%) 30 30 * Separate integration for the base64 strings apart from metadata is advisable 31 31 * The component in eMagiz needs a base64 encoded string as input 32 -* Multiple times encoding and decoding in the same integration is **not** advisable32 +* Multiple times encoding and encoding in the same integration is **not** advisable 33 33 34 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. 35 35 ... ... @@ -49,23 +49,32 @@ 49 49 50 50 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. 51 51 52 -== 4. Keytakeaways==52 +== 4. Assignment == 53 53 54 +Look for places where you could use this logic to aid your integration process within your (Academy) project. 55 +This assignment can be completed with the help of your (Academy) project you have created/used in the previous assignment. 56 + 57 +== 5. Key takeaways == 58 + 54 54 Essential characteristics of this functionality are: 55 55 56 56 * Encoding (and decoding) of base64 strings take up additional memory (up to 33%) 57 57 * Separate integration for the base64 strings apart from metadata is advisable 58 58 * The component in eMagiz needs a base64 encoded string as input 59 -* Multiple times encoding and decoding in the same integration is **not** advisable64 +* Multiple times encoding and encoding in the same integration is **not** advisable 60 60 61 -== 5. Suggested Additional Readings ==66 +== 6. Suggested Additional Readings == 62 62 63 63 If you are interested in this topic and want more information, please read the help text provided by eMagiz and the following links: 64 64 65 -* [[Encode Base64 (Search Results)>>url:https://docs.emagiz.com/bin/view/Main/Search?sort=score&sortOrder=desc&highlight=true&facet=true&r=1&f_space_facet=0%2FMain.&l_space_facet=10&f_type=DOCUMENT&f_locale=en&f_locale=&f_locale=en&text=%22encode+base64%22||target="blank"]] 66 -* [[Encode Algorithm (External)>>https://base64.guru/learn/base64-algorithm/encode||target="blank"]] 67 -* [[Base64 Encoding Online (External)>>https://www.base64encode.org/||target="blank"]] 68 -))) 70 +* [[Encode Algorithm>>https://base64.guru/learn/base64-algorithm/encode||target="blank"]] 71 +* [[Base64 Encoding Online>>https://www.base64encode.org/||target="blank"]] 69 69 73 +== 7. Silent demonstration video == 74 + 75 +This video demonstrates how you could have handled the assignment and gives you some context on what you have just learned. 76 + 77 +{{video attachment="intermediate-data-handling-base64-encode.mp4" reference="Main.Videos.Microlearning.WebHome"/}}))) 78 + 70 70 ((({{toc/}}))){{/container}} 71 71 {{/container}}