<?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>How to generate base64 digest string in Appian.</title><link>https://community.appian.com/discussions/f/integrations/23810/how-to-generate-base64-digest-string-in-appian</link><description>Hello All, 
 
 Below is the code snippet from Ruby. 
 
 Digest::SHA256.base64digest(&amp;#39;&amp;#39;) 
 
 I need to generate the same in Appian and pass it to the integration header parameter, please let me know if anyone has done this before. 
 
 Thank You, 
 Sneha</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to generate base64 digest string in Appian.</title><link>https://community.appian.com/thread/154043?ContentTypeID=1</link><pubDate>Tue, 24 Mar 2026 09:04:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:06f49279-d25d-4b0e-b76d-d319bd45f921</guid><dc:creator>varshau</dc:creator><description>&lt;p&gt;Thanks Mike this worked.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate base64 digest string in Appian.</title><link>https://community.appian.com/thread/144576?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2025 13:07:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0b532f95-c42d-40fc-86e5-eb4c8483134e</guid><dc:creator>lalithap4822</dc:creator><description>&lt;p&gt;&lt;span style="font-family:verdana, geneva;"&gt;Thanks Mike. This worked.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate base64 digest string in Appian.</title><link>https://community.appian.com/thread/144523?ContentTypeID=1</link><pubDate>Mon, 20 Jan 2025 15:43:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f98ba9e1-24ef-41c6-8f28-f40126a8ecd6</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;After some further research, I found that extended characters (anything past &lt;em&gt;char(127)&lt;/em&gt;) are handled specially in standard UTF-8 base64 encoding.&amp;nbsp; I did a little tampering with my existing rules and came up with the following updates today:&lt;/p&gt;
&lt;p&gt;Encoder:&lt;br /&gt;&lt;pre class="ui-code" data-mode="java"&gt;/* encode */
a!localVariables(
  local!text: ri!text,

  local!charset: &amp;quot;ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/&amp;quot;,
  local!codeArray: code(local!text),
  local!binArray: a!forEach(
    local!codeArray,
    if(
      fv!item &amp;gt; 127,
      if(
        fv!item &amp;gt; 2047,
        if(
          fv!item &amp;gt; 65535,
          dec2bin(fv!item, 21),
          dec2bin(fv!item, 16)
        ),
        dec2bin(fv!item, 11)
      ),
      dec2bin(fv!item, 8)
    )
  ),
  
  local!preProcessBinArray: a!forEach(
    /* encoding UTF-8 self-synchronizing (grumble) ref: https://en.wikipedia.org/wiki/UTF-8#Description */
    items: local!binArray,
    expression: a!match(
      value: len(fv!item), default: fv!item,
      
      equals: 8,
      then: fv!item,
      
      equals: 11,
      then: {
        concat( &amp;quot;110&amp;quot;, left(fv!item, 5) ),
        concat( &amp;quot;10&amp;quot;, right(fv!item, 6) )
      },
      
      equals: 16,
      then: {
        concat( &amp;quot;1110&amp;quot;, left(fv!item, 4) ),
        concat( &amp;quot;10&amp;quot;, mid(fv!item, 5, 6) ),
        concat( &amp;quot;10&amp;quot;, right(fv!item, 6) )
      },
      
      equals: 21,
      then: {
        concat( &amp;quot;11110&amp;quot;, left(fv!item, 3) ),
        concat( &amp;quot;10&amp;quot;, mid(fv!item, 4, 6) ),
        concat( &amp;quot;10&amp;quot;, mid(fv!item, 10, 6) ),
        concat( &amp;quot;10&amp;quot;, right(fv!item, 6) )
      }
    )
  ),
  
  local!bins: concat(local!preProcessBinArray),
  
  local!groupedBins: split(concat(
    a!forEach(
      items: code(local!bins), 
      expression: char(fv!item) &amp;amp; if(and(mod(fv!index, 6) = 0, not(fv!isLast)), &amp;quot;-=-=-&amp;quot;, &amp;quot;&amp;quot;)
    )
  ), &amp;quot;-=-=-&amp;quot; ),
  local!lastBin: index(local!groupedBins, length(local!groupedBins)),
  local!padding: a!match(
    value: len(local!lastBin),
    equals: 2, then: &amp;quot;==&amp;quot;,
    equals: 4, then: &amp;quot;=&amp;quot;,
    equals: 6, then: &amp;quot;&amp;quot;,
    default: &amp;quot;error condition&amp;quot;
  ),
  local!bindexes: a!forEach(
    items: local!groupedBins,
    expression: if(
      fv!isLast,
      bin2dec(substitute(padright(fv!item, 6), &amp;quot; &amp;quot;, &amp;quot;0&amp;quot;)),
      bin2dec(fv!item)
    )
  ) + 1,

  local!assembledOutput: concat(a!forEach(items: local!bindexes, expression: charat(local!charset, fv!item))) &amp;amp; local!padding,

  local!assembledOutput
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Decoder:&lt;br /&gt;&lt;pre class="ui-code" data-mode="java"&gt;/* decode */
a!localVariables(
  local!base64text: ri!base64text,

  local!charset: &amp;quot;ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/&amp;quot;,

  local!charCodes: code(local!base64text),
  /*local!paddingCount: count(wherecontains(code(&amp;quot;=&amp;quot;), local!charCodes)),*/
  local!unpaddedChars: a!flatten(a!forEach(
    items: local!charCodes,
    expression: if(fv!item = code(&amp;quot;=&amp;quot;), {}, find(char(fv!item), local!charset)-1)
  )),
  local!rawBins: dec2bin(tointeger(local!unpaddedChars), 6),

  local!decodedBins: split(
    concat(
      a!forEach(
        items: code(concat(local!rawBins)),
        expression: if(
          mod(fv!index, 8) = 0,
          char(fv!item) &amp;amp; &amp;quot;-=-=-&amp;quot;,
          char(fv!item)
        )
      )
    ),
    &amp;quot;-=-=-&amp;quot;
  ),

  
  local!intermediaryDecodedBinList: a!flatten(a!forEach(
    /* update to handle UTF-8 self-synchronizing for extended character-set items. ref: https://en.wikipedia.org/wiki/UTF-8#Description */
    items: local!decodedBins,
    expression: if(
      or(fv!item = &amp;quot;0000&amp;quot;, fv!item = &amp;quot;00&amp;quot;),
      {},
      
      a!match(
        value: fv!item, default: fv!value,

        /* handle 2-byte items */
        whentrue: left(fv!value, 3) = &amp;quot;110&amp;quot;,
        then: concat(right(fv!item, 5), right(local!decodedBins[fv!index+1], 6)),
        whenTrue: or(  /* manually check and skip re-using subsequent ones on following iterations (ugh) */
          and(fv!index &amp;gt;= 2, left(local!decodedBins[fv!index-1], 3) = &amp;quot;110&amp;quot;),
        ),
        then: {},

        /* handle 3-byte items */
        whentrue: left(fv!value, 4) = &amp;quot;1110&amp;quot;,
        then: concat(right(fv!item, 4), right(local!decodedBins[fv!index+1], 6), right(local!decodedBins[fv!index+2], 6)),
        whenTrue: or(  /* manually check and skip re-using subsequent ones on following iterations (ugh) */
          and(fv!index &amp;gt;= 2, left(local!decodedBins[fv!index-1], 4) = &amp;quot;1110&amp;quot;),
          and(fv!index &amp;gt;= 3, left(local!decodedBins[fv!index-2], 4) = &amp;quot;1110&amp;quot;)
        ),
        then: {},

        /* handle 4-byte items */
        whentrue: left(fv!value, 5) = &amp;quot;11110&amp;quot;,
        then: concat(right(fv!item, 3), right(local!decodedBins[fv!index+1], 6), right(local!decodedBins[fv!index+2], 6), right(local!decodedBins[fv!index+3], 6)),
        whenTrue: or(  /* manually check and skip re-using subsequent ones on following iterations (ugh) */
          and(fv!index &amp;gt;= 2, left(local!decodedBins[fv!index-1], 5) = &amp;quot;11110&amp;quot;),
          and(fv!index &amp;gt;= 3, left(local!decodedBins[fv!index-2], 5) = &amp;quot;11110&amp;quot;),
          and(fv!index &amp;gt;= 4, left(local!decodedBins[fv!index-3], 5) = &amp;quot;11110&amp;quot;)
        ),
        then: {}
        
      )
    )
  )),
  
  concat(
    a!forEach(
      local!intermediaryDecodedBinList,
      char(bin2dec(fv!item))
    )
  )
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;These work with text containing the euro symbol and other extended character set items to an extent.&amp;nbsp; Warning that I have *not* tested them very thoroughly for corner cases (like items that exist at character set boundaries) yet, but the results so far match results given by public online base64 encoder tools.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate base64 digest string in Appian.</title><link>https://community.appian.com/thread/144522?ContentTypeID=1</link><pubDate>Mon, 20 Jan 2025 15:31:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1f792719-0950-49ba-91c9-9248a110d04b</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="245102" url="~/discussions/f/integrations/23810/how-to-generate-base64-digest-string-in-appian/144487"]failing to decode Euro symbol[/quote]
&lt;p&gt;Are you talking about the &amp;quot;&amp;acirc;&amp;quot; character?&amp;nbsp; Because that&amp;#39;s what it looks like your example string contains.&amp;nbsp; I&amp;#39;m unclear but for some reason my base64 back-parser is interpreting it as 2 characters instead of 1, which I&amp;#39;ll look into - it could be an error in my parser, or some weird exception involving the convergence of character sets or something, i&amp;#39;m not terribly sure yet.&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/18/pastedimage1737387093173v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate base64 digest string in Appian.</title><link>https://community.appian.com/thread/144487?ContentTypeID=1</link><pubDate>Fri, 17 Jan 2025 23:09:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:af3c762b-61da-4c65-9584-4d08d6a54807</guid><dc:creator>lalithap4822</dc:creator><description>&lt;p&gt;&lt;span style="font-family:verdana, geneva;"&gt;Hi Mike,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:verdana, geneva;"&gt;I tried your code and it is failing to decode Euro symbol. Here is the same from my encoded text &amp;quot;U2ltaWxhYyBBZHZhbmNlIMOiIFIwMzUxMjNQ&amp;quot;. Unfortunately, I can&amp;#39;t use&amp;nbsp;decodebase64string() as it has size limitation to 2000 characters.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate base64 digest string in Appian.</title><link>https://community.appian.com/thread/144486?ContentTypeID=1</link><pubDate>Fri, 17 Jan 2025 23:06:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:77a37e67-2118-4ece-b0d9-5c099c78b868</guid><dc:creator>lalithap4822</dc:creator><description>&lt;p&gt;&lt;span style="font-family:verdana, geneva;"&gt;Hello Mike,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:verdana, geneva;"&gt;I tried your code &amp;amp; it isn&amp;#39;t decoding Euro symbol. Here is a sample from my encoded text - &amp;quot;U2ltaWxhYyBBZHZhbmNlIMOiIFIwMzUxMjNQ&amp;quot;. Can you please check. Unfortunately, I can&amp;#39;t use&amp;nbsp;decodebase64string since it has a size limitation of 2000 characters.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate base64 digest string in Appian.</title><link>https://community.appian.com/thread/137755?ContentTypeID=1</link><pubDate>Mon, 08 Jul 2024 15:11:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:61554672-cea3-4c35-acd3-0435eb9f85e1</guid><dc:creator>MK0001</dc:creator><description>&lt;p&gt;yes, done Verified&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate base64 digest string in Appian.</title><link>https://community.appian.com/thread/137754?ContentTypeID=1</link><pubDate>Mon, 08 Jul 2024 15:09:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:535f4180-e752-4395-9568-c7173f256155</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Just out of curiosity, does that change if you click this first?&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/18/pastedimage1720451358061v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate base64 digest string in Appian.</title><link>https://community.appian.com/thread/137751?ContentTypeID=1</link><pubDate>Mon, 08 Jul 2024 14:51:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:21c43db1-d8f4-48d3-b4ce-58ceb90e9b88</guid><dc:creator>MK0001</dc:creator><description>&lt;p&gt;Yes, I already tried verifying the answer but could not be able to do it. The reason may be because the owner of the conversation is different.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate base64 digest string in Appian.</title><link>https://community.appian.com/thread/137750?ContentTypeID=1</link><pubDate>Mon, 08 Jul 2024 14:49:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bf2131d8-b808-4a6d-9fd7-4bd0c91aef2e</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;great, thanks for confirming &lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;br /&gt;(BTW if you want to &amp;quot;verify&amp;quot; my old answer(s) here that&amp;#39;d be great here too - i notice nobody else ever did, lol)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate base64 digest string in Appian.</title><link>https://community.appian.com/thread/137749?ContentTypeID=1</link><pubDate>Mon, 08 Jul 2024 14:48:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f427016c-3da6-4ab6-b04b-39f3773edd00</guid><dc:creator>MK0001</dc:creator><description>&lt;p&gt;Sorry Mike, Missed this one. Thank you soo much. This works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate base64 digest string in Appian.</title><link>https://community.appian.com/thread/137748?ContentTypeID=1</link><pubDate>Mon, 08 Jul 2024 14:45:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0dd72185-7bdc-42ab-ae0f-3caf2efe9b21</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="276052" url="~/discussions/f/integrations/23810/how-to-generate-base64-digest-string-in-appian/137746"]Yes, it is actually converting base64 to text, but I need to convert text to base 64. [/quote]
&lt;p&gt;I have at least 2 different rules posted above.&amp;nbsp; One converts base64 to text, and the other converts text to base64.&amp;nbsp; Are you saying you&amp;#39;ve tried both of them?&amp;nbsp; It seems to me like you&amp;#39;ve probably &lt;a href="/discussions/f/integrations/23810/how-to-generate-base64-digest-string-in-appian/91713"&gt;missed one&lt;/a&gt;.&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/18/pastedimage1720450027274v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate base64 digest string in Appian.</title><link>https://community.appian.com/thread/137746?ContentTypeID=1</link><pubDate>Mon, 08 Jul 2024 14:41:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6081a658-a652-47ee-a25e-394025d2cc3a</guid><dc:creator>MK0001</dc:creator><description>&lt;p&gt;Yes, it is actually converting base64 to text, but I need to convert text to base 64. I tried using encodebase64string() function, but it is having some limitation of 150 characters. Could you please suggest me the other ways of converting text to base 64?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate base64 digest string in Appian.</title><link>https://community.appian.com/thread/137744?ContentTypeID=1</link><pubDate>Mon, 08 Jul 2024 14:32:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b7950b3c-0641-45c2-8936-6673a70eaf9e</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="276052" url="~/discussions/f/integrations/23810/how-to-generate-base64-digest-string-in-appian/137628"]I need to convert it into Base64 format. How can I achieve this?[/quote]
&lt;p&gt;Did you try the expression rule(s) I pasted above?&amp;nbsp; They&amp;#39;re pretty straight-forward...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate base64 digest string in Appian.</title><link>https://community.appian.com/thread/137628?ContentTypeID=1</link><pubDate>Fri, 05 Jul 2024 10:41:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c87d10bf-d1e8-4158-b5cb-4768f95a7d83</guid><dc:creator>MK0001</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/mikes0011"&gt;Mike Schmitt&lt;/a&gt;&amp;nbsp;, Could you please help me in my requirement.&lt;br /&gt;My input is in Text format, I need to convert it into Base64 format. How can I achieve this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate base64 digest string in Appian.</title><link>https://community.appian.com/thread/133330?ContentTypeID=1</link><pubDate>Fri, 12 Apr 2024 17:56:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:07f985b5-8881-48d2-a03f-b1e28ae588a0</guid><dc:creator>Alexis D&amp;#237;az Fajardo</dc:creator><description>&lt;p&gt;I have not. Anyway, 10,000 characters sounds better than 1,600 right? :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate base64 digest string in Appian.</title><link>https://community.appian.com/thread/133296?ContentTypeID=1</link><pubDate>Fri, 12 Apr 2024 13:42:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d1fb7577-5999-416b-85b2-60dd7f1939c5</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="266581" url="~/discussions/f/integrations/23810/how-to-generate-base64-digest-string-in-appian/133231"]character limit of 150[/quote]
&lt;p&gt;yikes&amp;nbsp;&lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f62c.svg" title="Grimacing"&gt;&amp;#x1f62c;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;edit: have you tested this:&amp;nbsp; a few comments there suggest the limit is actually more than 150 characters now (in spite of what they have published on the description page).&amp;nbsp; I updated my version of the plug-in and it seems to take upwards of 1600 characters now (the old one did break at 152, instead of 150 oddly).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate base64 digest string in Appian.</title><link>https://community.appian.com/thread/133231?ContentTypeID=1</link><pubDate>Fri, 12 Apr 2024 06:03:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:380f7c98-bd30-4e86-8efe-32a935441e21</guid><dc:creator>Alexis D&amp;#237;az Fajardo</dc:creator><description>&lt;p&gt;Thats nice to hear. Im asking because the plugin &lt;a href="/b/appmarket/posts/base64-expressions"&gt;Base64 Expressions&lt;/a&gt;&amp;nbsp;have in its functions a character limit of 150.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate base64 digest string in Appian.</title><link>https://community.appian.com/thread/133196?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2024 15:54:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2ea94ec7-1498-4292-ad58-3e668610f7df</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="266581" url="~/discussions/f/integrations/23810/how-to-generate-base64-digest-string-in-appian/133194"]limits of characters [/quote]
&lt;p&gt;Within reason.&amp;nbsp; Do you have anything specific in mind?&lt;/p&gt;
&lt;p&gt;To confirm - i just tested it on a 10,000 character randomly-generated Lorem Ipsum text, and it worked in less than 5 seconds.&amp;nbsp; I guess I&amp;#39;d hesitate to call it on text much longer than this, just for performance concerns.&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/18/pastedimage1712851341569v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate base64 digest string in Appian.</title><link>https://community.appian.com/thread/133194?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2024 15:50:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5a5b9405-0f98-45ac-b7a2-d152233382ac</guid><dc:creator>Alexis D&amp;#237;az Fajardo</dc:creator><description>&lt;p&gt;Have you tested the limits of characters for this code?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate base64 digest string in Appian.</title><link>https://community.appian.com/thread/123701?ContentTypeID=1</link><pubDate>Thu, 04 Jan 2024 19:08:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:07a76765-803f-4e5b-ab7f-81dba72ec919</guid><dc:creator>Abhay Dalsaniya</dc:creator><description>&lt;p&gt;Great work!!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate base64 digest string in Appian.</title><link>https://community.appian.com/thread/123699?ContentTypeID=1</link><pubDate>Thu, 04 Jan 2024 19:02:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:299f1212-a75d-48a3-b19a-f0c6c9371536</guid><dc:creator>Jason</dc:creator><description>&lt;p&gt;You sir, are my hero!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate base64 digest string in Appian.</title><link>https://community.appian.com/thread/123698?ContentTypeID=1</link><pubDate>Thu, 04 Jan 2024 18:58:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e4f31ec6-42d4-4e85-bfc7-9c0c2849944e</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="6113" url="~/discussions/f/integrations/23810/how-to-generate-base64-digest-string-in-appian/123695"]do you happen to have a base64 decoder written as well?[/quote]
&lt;p&gt;In fact, yes.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="java"&gt;/* note: deprecated old version.  please see my updated version(s) down-thread, these now handle extended characters correctly. */&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate base64 digest string in Appian.</title><link>https://community.appian.com/thread/123695?ContentTypeID=1</link><pubDate>Thu, 04 Jan 2024 18:30:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:39ef450a-8b70-4d08-af1c-0a8d98b74111</guid><dc:creator>Jason</dc:creator><description>&lt;p&gt;Mike, do you happen to have a base64 decoder written as well?&amp;nbsp; I&amp;#39;ll try to reverse engineer your encoder in the meantime.&amp;nbsp; Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to generate base64 digest string in Appian.</title><link>https://community.appian.com/thread/112277?ContentTypeID=1</link><pubDate>Fri, 05 May 2023 15:09:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d31e90e8-6ef7-463d-8eb2-2d3f3e08a126</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="115564" url="~/discussions/f/integrations/23810/how-to-generate-base64-digest-string-in-appian/112269#112269"]This code snippet, will help us to convert simple text to base64 ?[/quote]
&lt;p&gt;Yes, the code I posted (which is custom code I wrote 100% from scratch on my own in Appian) should generate standard Base64 given an input string.&amp;nbsp; I&amp;#39;ve tested the base64 it generates with external base64 convertors and at least thus far I haven&amp;#39;t found any areas where it doesn&amp;#39;t work correctly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>