<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Base 64 Expressions</title><link>https://community.appian.com/discussions/f/plug-ins/12502/base-64-expressions</link><description>The decodehexstring function in Base64 Expressions doesn&amp;#39;t return the original text. 
 Demo example - 
 decodehexstring(md5hash(&amp;quot;jit&amp;quot;)) returns &amp;quot;;n�S��,���F�&amp;quot; instead of &amp;quot;jit&amp;quot;.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Base 64 Expressions</title><link>https://community.appian.com/thread/55786?ContentTypeID=1</link><pubDate>Mon, 28 May 2018 09:13:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7722b164-d153-4baf-a1fe-5d1993221ba0</guid><dc:creator>subhajits</dc:creator><description>Thanks a lot. It really helped me.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Base 64 Expressions</title><link>https://community.appian.com/thread/55629?ContentTypeID=1</link><pubDate>Thu, 24 May 2018 11:45:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9ad78bab-a499-4b6c-9e59-9909b12af3ee</guid><dc:creator>Raghuvaran Nagarajan</dc:creator><description>&lt;p&gt;[quote user=&amp;quot;subhajits&amp;quot;]decodehexstring(md5hash(&amp;quot;jit&amp;quot;)) returns&amp;nbsp;&amp;quot;;n�S��,���F�&amp;quot; instead of &amp;quot;jit&amp;quot;.[/quote]&lt;/p&gt;
&lt;p&gt;decodehexstring() and md5hash() are completely different functions for different purposes. So, these functions never do the opposite of the other.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;md5hash()&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;This function will return the 128-bit digest of the input string in a hex format so that the 128 bit can be easily represented with just 32 characters.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;decodehexstring()&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;This function accepts a hex string and returns the equivalent text.&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Eg. if the hex string is &lt;strong&gt;&lt;span style="color:#ff00ff;"&gt;5E&lt;/span&gt;&lt;span style="color:#3366ff;"&gt;4B&lt;/span&gt;&lt;span style="color:#339966;"&gt;31&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;span style="color:#000000;"&gt;then it will be separated into pairs of 2 characters (HEX CODE) and the text equivalent for the corresponding hex code will be returned. For this example the output will be &lt;strong&gt;^K1&lt;/strong&gt;&lt;/span&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;&lt;span style="color:#ff00ff;"&gt;5E&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;- ^&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;&lt;span style="color:#3366ff;"&gt;4B&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;- K&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;&lt;span style="color:#339966;"&gt;31&lt;/span&gt;&lt;/strong&gt;&amp;nbsp;- 1&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style="color:#000000;"&gt;Refer this lookup chart for more info&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span style="color:#000000;"&gt;&lt;a href="https://www.asciitable.com/index/asciifull.gif"&gt;&lt;img src="https://www.asciitable.com/index/asciifull.gif" alt=" " /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Raghu&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>