<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Using the SHA256() function in Archived Groups</title>
    <link>https://community.qlik.com/t5/Archived-Groups/Using-the-SHA256-function/m-p/2429059#M698</link>
    <description>&lt;P&gt;Hello Ceosis.&lt;BR /&gt;I would need to know how you are concatenating the fields and how you are using that concatenation in hash256() so that it returns&amp;nbsp;&lt;SPAN&gt;2a5bc014151a1b36c93ae134100f6f474283712d91d58f51ddc169fa3224a7b3&lt;/SPAN&gt;&lt;BR /&gt;Because I have used this script :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;My_TABLE:&lt;/FONT&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;load *, a&amp;amp;'|'&amp;amp;b&amp;amp;'|'&amp;amp;c&amp;amp;'|'&amp;amp;d as h;&lt;/FONT&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;LOAD * INLINE[&lt;/FONT&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;a,b,c,d&lt;/FONT&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;demezancon,jeanfrancois,21121987,99129&lt;/FONT&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;];&lt;/FONT&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;and the results that always give me the same:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;hash256(a&amp;amp;'|'&amp;amp;b&amp;amp;'|'&amp;amp;c&amp;amp;'|'&amp;amp;d)&lt;/EM&gt; --&amp;gt;&lt;/STRONG&gt;&amp;nbsp;LS;:]&amp;lt;+&amp;lt;%&amp;amp;GT::)U9:#&amp;amp;Q&amp;lt;58`EWE&amp;lt;&amp;gt;RU!KGN:8ZS,EU&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;hash256(h)&amp;nbsp;&lt;/EM&gt; &lt;/STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;STRONG&gt;--&amp;gt;&lt;/STRONG&gt;&amp;nbsp;LS;:]&amp;lt;+&amp;lt;%&amp;amp;GT::)U9:#&amp;amp;Q&amp;lt;58`EWE&amp;lt;&amp;gt;RU!KGN:8ZS,EU&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;hash256('demezancon|jeanfrancois|21121987|99129')&lt;/EM&gt; --&amp;gt;&lt;/STRONG&gt;&amp;nbsp;LS;:]&amp;lt;+&amp;lt;%&amp;amp;GT::)U9:#&amp;amp;Q&amp;lt;58`EWE&amp;lt;&amp;gt;RU!KGN:8ZS,EU&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Except when I use this sentence:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;hash256(a,b,c,d)&lt;/EM&gt; --&amp;gt;&lt;/STRONG&gt;&amp;nbsp;HP"^B!*T9M.%"*(6D4F.16PV&amp;gt;_%#:GL&amp;lt;U[C]LZR\\H#&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 10 Mar 2024 08:23:07 GMT</pubDate>
    <dc:creator>jmmayoral3</dc:creator>
    <dc:date>2024-03-10T08:23:07Z</dc:date>
    <item>
      <title>Using the SHA256() function</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Using-the-SHA256-function/m-p/2429027#M696</link>
      <description>&lt;P&gt;We construct with four fields a concatenated code without special characters (no accents, no hyphens) or capital letters, assembled with pipe characters: |&lt;/P&gt;
&lt;P&gt;This code is then hashed with a SHA256 function.&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Example&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Will have initial code: demezancon|jeanfrancois|21121987|99129&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Once hashed: 2a5bc014151a1b36c93ae134100f6f474283712d91d58f51ddc169fa3224a7b3&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But when I use the following function: Hash256('demezancon|jeanfrancois|21121987|99129')&lt;/P&gt;
&lt;P&gt;I get a totally different result: LS;:]&amp;lt;+&amp;lt;%&amp;amp;GT::)U9:#&amp;amp;Q&amp;lt;58`EWE&amp;lt;&amp;gt;RU!KGN:8ZS,EU&lt;/P&gt;
&lt;P&gt;I can't figure out what's missing in my formula to get the expected result.&lt;/P&gt;
&lt;P&gt;Thank you in advance for your help.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2025 14:42:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Using-the-SHA256-function/m-p/2429027#M696</guid>
      <dc:creator>ceosis79</dc:creator>
      <dc:date>2025-07-22T14:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: Using the SHA256() function</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Using-the-SHA256-function/m-p/2429041#M697</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/21261"&gt;@ceosis79&lt;/a&gt;&amp;nbsp;As per this,&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense/February2024/Subsystems/Hub/Content/Sense_Hub/Scripting/StringFunctions/Hash256.htm#:~:text=Hash256()%20returns%20a%20256,is%20a%2043%2Dcharacter%20string." target="_blank"&gt;Hash256 - script and chart function | Qlik Sense on Windows Help&lt;/A&gt;&amp;nbsp;It seems the result is OK?&lt;/P&gt;
&lt;P&gt;But, The title says SHA256()?&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2024 00:21:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Using-the-SHA256-function/m-p/2429041#M697</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2024-03-10T00:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: Using the SHA256() function</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Using-the-SHA256-function/m-p/2429059#M698</link>
      <description>&lt;P&gt;Hello Ceosis.&lt;BR /&gt;I would need to know how you are concatenating the fields and how you are using that concatenation in hash256() so that it returns&amp;nbsp;&lt;SPAN&gt;2a5bc014151a1b36c93ae134100f6f474283712d91d58f51ddc169fa3224a7b3&lt;/SPAN&gt;&lt;BR /&gt;Because I have used this script :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;My_TABLE:&lt;/FONT&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;load *, a&amp;amp;'|'&amp;amp;b&amp;amp;'|'&amp;amp;c&amp;amp;'|'&amp;amp;d as h;&lt;/FONT&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;LOAD * INLINE[&lt;/FONT&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;a,b,c,d&lt;/FONT&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;demezancon,jeanfrancois,21121987,99129&lt;/FONT&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;];&lt;/FONT&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;and the results that always give me the same:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;hash256(a&amp;amp;'|'&amp;amp;b&amp;amp;'|'&amp;amp;c&amp;amp;'|'&amp;amp;d)&lt;/EM&gt; --&amp;gt;&lt;/STRONG&gt;&amp;nbsp;LS;:]&amp;lt;+&amp;lt;%&amp;amp;GT::)U9:#&amp;amp;Q&amp;lt;58`EWE&amp;lt;&amp;gt;RU!KGN:8ZS,EU&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;hash256(h)&amp;nbsp;&lt;/EM&gt; &lt;/STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;STRONG&gt;--&amp;gt;&lt;/STRONG&gt;&amp;nbsp;LS;:]&amp;lt;+&amp;lt;%&amp;amp;GT::)U9:#&amp;amp;Q&amp;lt;58`EWE&amp;lt;&amp;gt;RU!KGN:8ZS,EU&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;hash256('demezancon|jeanfrancois|21121987|99129')&lt;/EM&gt; --&amp;gt;&lt;/STRONG&gt;&amp;nbsp;LS;:]&amp;lt;+&amp;lt;%&amp;amp;GT::)U9:#&amp;amp;Q&amp;lt;58`EWE&amp;lt;&amp;gt;RU!KGN:8ZS,EU&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Except when I use this sentence:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;hash256(a,b,c,d)&lt;/EM&gt; --&amp;gt;&lt;/STRONG&gt;&amp;nbsp;HP"^B!*T9M.%"*(6D4F.16PV&amp;gt;_%#:GL&amp;lt;U[C]LZR\\H#&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2024 08:23:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Using-the-SHA256-function/m-p/2429059#M698</guid>
      <dc:creator>jmmayoral3</dc:creator>
      <dc:date>2024-03-10T08:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: Using the SHA256() function</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Using-the-SHA256-function/m-p/2429062#M699</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/35132"&gt;@jmmayoral3&lt;/a&gt;&amp;nbsp; and&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5533"&gt;@Anil_Babu_Samineni&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The example is provided by my central administration, when I saw a different output I checked the calculation with various online tools and get the same result than the example :&lt;/P&gt;
&lt;P&gt;&lt;A href="https://passwordsgenerator.net/sha256-hash-generator/" target="_blank"&gt;https://passwordsgenerator.net/sha256-hash-generator/&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://emn178.github.io/online-tools/sha256.html" target="_blank"&gt;https://emn178.github.io/online-tools/sha256.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://tools.keycdn.com/sha256-online-generator" target="_blank"&gt;https://tools.keycdn.com/sha256-online-generator&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Maybe the Qlik Sense function hash256() needs a specific argument to define the proper algorithm or&amp;nbsp;I need to use an other&amp;nbsp; function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could you guys help tel me how to achieve this in Qlik Sense ?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2024 09:18:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Using-the-SHA256-function/m-p/2429062#M699</guid>
      <dc:creator>ceosis79</dc:creator>
      <dc:date>2024-03-10T09:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Using the SHA256() function</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Using-the-SHA256-function/m-p/2429083#M700</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/21261"&gt;@ceosis79&lt;/a&gt;&amp;nbsp;Can we know what you want to use after you use below one?&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hash256('demezancon|jeanfrancois|21121987|99129').&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I can see&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/35132"&gt;@jmmayoral3&lt;/a&gt;&amp;nbsp;explained the same how Qlik works.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2024 16:06:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Using-the-SHA256-function/m-p/2429083#M700</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2024-03-10T16:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Using the SHA256() function</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Using-the-SHA256-function/m-p/2429125#M701</link>
      <description>&lt;P&gt;Qlik Hash256() does not use the same hashing algorithm as SHA256(). SHA256() would use SHA, while Hash256() apparently uses something different.&amp;nbsp;&lt;BR /&gt;&lt;A href="https://support.qlik.com/articles/000026464" target="_blank" rel="noopener"&gt;https://support.qlik.com/articles/000026464&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You'll find other questions in this forum about how to possibly replicate SHA256 in Qlik Sense. I don't think it's possible without using an external routine like an SSE.&lt;/P&gt;
&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 04:10:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Using-the-SHA256-function/m-p/2429125#M701</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2024-03-11T04:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Using the SHA256() function</title>
      <link>https://community.qlik.com/t5/Archived-Groups/Using-the-SHA256-function/m-p/2429205#M702</link>
      <description>&lt;P&gt;Thanks Rob, for your explanation.&lt;/P&gt;
&lt;P&gt;It's clear now that Qlik Sense function&amp;nbsp;Hash256() is not a solution for me to provide this encrypted field in the format I have to deliver.&lt;/P&gt;
&lt;P&gt;I should have notice like&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5533"&gt;@Anil_Babu_Samineni&lt;/a&gt;&amp;nbsp; the subtle difference between SHA256 and HASH256 !&lt;/P&gt;
&lt;P&gt;Sorry to have bother you three with this beginner's question…&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;Vladimir&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 08:42:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Archived-Groups/Using-the-SHA256-function/m-p/2429205#M702</guid>
      <dc:creator>ceosis79</dc:creator>
      <dc:date>2024-03-11T08:42:27Z</dc:date>
    </item>
  </channel>
</rss>

