<?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: Hash Functions helps in understanding Blockchains? in All Things Community</title>
    <link>https://communities.sas.com/t5/All-Things-Community/Hash-Functions-helps-in-understanding-Blockchains/m-p/536829#M3730</link>
    <description>&lt;P&gt;Indeed that's the one!&amp;nbsp; Thank you mam&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/33307"&gt;@AnnaBrown&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For yours and overall interest &amp;amp; curiosity of others, one of my very good friend is working on a proof of concept(academic) on this very topic that leverages SAS as the main utility tool to be presented to a large traditional bank. I am pretty intrigued and let's see what he comes up.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers &amp;amp; Have a good day!&lt;/P&gt;</description>
    <pubDate>Tue, 19 Feb 2019 17:18:42 GMT</pubDate>
    <dc:creator>novinosrin</dc:creator>
    <dc:date>2019-02-19T17:18:42Z</dc:date>
    <item>
      <title>Hash Functions helps in understanding Blockchains?</title>
      <link>https://communities.sas.com/t5/All-Things-Community/Hash-Functions-helps-in-understanding-Blockchains/m-p/536589#M3726</link>
      <description>&lt;P&gt;Hash Functions helps in understanding Blockchains?Any thoughts relating to SAS?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Taken from&amp;nbsp;&lt;EM&gt;&lt;A href="https://decentralize.today/if-you-understand-hash-functions-youll-understand-blockchains-9088307b745d" target="_blank"&gt;https://decentralize.today/if-you-understand-hash-functions-youll-understand-blockchains-9088307b745d&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3 id="16da" class="graf graf--h3 graf-after--figure"&gt;Introduction&lt;/H3&gt;
&lt;P class="graf graf--p graf-after--h3"&gt;Hash functions are a fundamental part of blockchain technologies. If you understand hash functions, it will make understanding other concepts such as tamper proofing, digital fingerprints and provenance easier.&lt;/P&gt;
&lt;H3 id="7a3b" class="graf graf--h3 graf-after--p"&gt;What is a hash function?&lt;/H3&gt;
&lt;P class="graf graf--p graf-after--h3"&gt;The hash concept is actually quite simple. It’s the amount of jargon used that confuses people. Simply stated,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG class="markup--strong markup--p-strong"&gt;a hash function takes some input data and creates some output data.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class="graf graf--p graf-after--p"&gt;To expand on this concept,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG class="markup--strong markup--p-strong"&gt;a hash function takes an input of any length and creates an output of fixed length.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class="graf graf--p graf-after--p"&gt;Here is an example using a type of hash function called md5:&lt;/P&gt;
&lt;FIGURE id="3805" class="graf graf--figure graf-after--p"&gt;
&lt;DIV class="aspectRatioPlaceholder is-locked"&gt;
&lt;DIV class="aspectRatioPlaceholder-fill"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;IMG class="graf-image" src="https://cdn-images-1.medium.com/max/1600/1*1rV5US9nKxJ6Qvp39wvOWg.png" border="0" data-image-id="1*1rV5US9nKxJ6Qvp39wvOWg.png" data-width="443" data-height="52" /&gt;&lt;/DIV&gt;
&lt;/FIGURE&gt;
&lt;P class="graf graf--p graf-after--figure"&gt;It takes an input string and created a string of random letters and numbers “a0680c04c4eb53884be77b4e10677f2b”. This is referred to as the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG class="markup--strong markup--p-strong"&gt;message digest&lt;/STRONG&gt;. It is also known as the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG class="markup--strong markup--p-strong"&gt;digital fingerprint&lt;/STRONG&gt;. This is because there is no way this digest can represent any other string. If I try and modify this to “I owe my sister $2” the message digest will be completely different.&lt;/P&gt;
&lt;H3 id="f61c" class="graf graf--h3 graf-after--p"&gt;What are the types of hash functions?&lt;/H3&gt;
&lt;P class="graf graf--p graf-after--h3"&gt;There are lots of different types of hash functions. You can wrap your head around them&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="markup--anchor markup--p-anchor" href="https://en.wikipedia.org/wiki/List_of_hash_functions" target="_blank" rel="noopener" data-href="https://en.wikipedia.org/wiki/List_of_hash_functions"&gt;here&lt;/A&gt;. The main ones involving the blockchain are SHA256 and RIPEMD. The number such as 128 or 256 generally refers to the length of the output. ie SHA256 will produce a 256 bit output.&lt;/P&gt;
&lt;FIGURE id="310f" class="graf graf--figure graf-after--p"&gt;
&lt;DIV class="aspectRatioPlaceholder is-locked"&gt;
&lt;DIV class="aspectRatioPlaceholder-fill"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;IMG class="graf-image" src="https://cdn-images-1.medium.com/max/1600/0*7kG1RmgLvNP9AKU3.png" border="0" data-image-id="0*7kG1RmgLvNP9AKU3.png" data-width="463" data-height="33" /&gt;&lt;/DIV&gt;
&lt;/FIGURE&gt;
&lt;P class="graf graf--p graf-after--figure"&gt;Above is the SHA256 command run on Linux. The output is 256 bits or 64 characters long. Count it if you don’t believe me!&lt;/P&gt;
&lt;H3 id="5d0c" class="graf graf--h3 graf-after--p"&gt;Detecting Change&lt;/H3&gt;
&lt;P class="graf graf--p graf-after--h3"&gt;The easiest way to detect if the input has changed is to compare the message digest of 2 proclaimed versions. If they match, you can be sure that the person holding the mortgage title for example is indeed the true owner of the house.&lt;/P&gt;
&lt;H3 id="2fed" class="graf graf--h3 graf-after--p"&gt;Collisions&lt;/H3&gt;
&lt;P class="graf graf--p graf-after--h3"&gt;Many people ask how can it be possible to never come across the same message digest? It can’t be infinitely unique can it?&lt;/P&gt;
&lt;P class="graf graf--p graf-after--p"&gt;The answer is that it is NOT infinitely unique but the secret sauce is that it would take something like all the computers since the beginning of time a billion years to find a collision. ie two different inputs resulting in the same hash output. And that is good enough.&lt;/P&gt;
&lt;H3 id="1300" class="graf graf--h3 graf-after--p"&gt;One way&amp;nbsp;street&lt;/H3&gt;
&lt;P class="graf graf--p graf-after--h3"&gt;Another property of hash functions are they are one way. It is really easy to calculate a message digest but given the digest, it is near impossible to figure out in the input. Again, not impossible but it will take another billion years or so.&lt;/P&gt;
&lt;H3 id="be89" class="graf graf--h3 graf-after--p"&gt;Compression&lt;/H3&gt;
&lt;P class="graf graf--p graf-after--h3"&gt;Another way to think of hash functions is compression. A large input is essentially compressed into a very short string representation of that input. I can then use that digest or summary to help detect if the input has changed down the track.&lt;/P&gt;
&lt;H3 id="10f9" class="graf graf--h3 graf-after--p"&gt;How does this relate to blockchains?&lt;/H3&gt;
&lt;P class="graf graf--p graf-after--h3"&gt;Blockchains make use of hash functions everywhere. Data on the blockchain is “hashed” in each block. If the block is changed, ie someone tried to change how many bitcoins they owned or how much they owed their sister, the hashed value would be different and everyone could detect that something had changed.&lt;/P&gt;
&lt;P class="graf graf--p graf-after--p"&gt;The hashed value of the previous block is used to calculate the hashed value of the current block creating this link between the blocks.&lt;/P&gt;
&lt;H3 id="cbf2" class="graf graf--h3 graf-after--p"&gt;Summary&lt;/H3&gt;
&lt;P class="graf graf--p graf-after--h3 graf--trailing"&gt;Not many people will talk about hash functions but lots will talk about provenance. That is, a record of where something came from such as organic wheat or a bolt used in making a jumbo jet and being able to track this on the blockchain because it is immutable. It’s immutable because if there is a change, it will be detected and rejected by the other nodes and hash functions play a big part.&lt;/P&gt;
&lt;P class="graf graf--p graf-after--h3 graf--trailing"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="graf graf--p graf-after--h3 graf--trailing"&gt;PS&lt;/P&gt;
&lt;P class="graf graf--p graf-after--h3 graf--trailing"&gt;I vaguely remember AnnaBrown posting some SAS Blockchain related article on linkedin. Blimey I missed that!&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2019 21:35:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/All-Things-Community/Hash-Functions-helps-in-understanding-Blockchains/m-p/536589#M3726</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2019-02-18T21:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Hash Functions helps in understanding Blockchains?</title>
      <link>https://communities.sas.com/t5/All-Things-Community/Hash-Functions-helps-in-understanding-Blockchains/m-p/536594#M3727</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/138205"&gt;@novinosrin&lt;/a&gt;&amp;nbsp;It was probably this article: &lt;A href="https://www.sas.com/en_us/insights/analytics/blockchain.html" target="_self"&gt;Blockchain - what it is and why it matters&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2019 21:51:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/All-Things-Community/Hash-Functions-helps-in-understanding-Blockchains/m-p/536594#M3727</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2019-02-18T21:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Hash Functions helps in understanding Blockchains?</title>
      <link>https://communities.sas.com/t5/All-Things-Community/Hash-Functions-helps-in-understanding-Blockchains/m-p/536820#M3728</link>
      <description>&lt;P&gt;Thank you sir&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger&lt;/a&gt;&amp;nbsp; &amp;nbsp;for sharing. It probably was, nevertheless doesn't seem to ring the bell that kinda gives the feeling I missed something dear. And that is good i think &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Sighs&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 17:01:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/All-Things-Community/Hash-Functions-helps-in-understanding-Blockchains/m-p/536820#M3728</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2019-02-19T17:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Hash Functions helps in understanding Blockchains?</title>
      <link>https://communities.sas.com/t5/All-Things-Community/Hash-Functions-helps-in-understanding-Blockchains/m-p/536824#M3729</link>
      <description>&lt;P&gt;Hi there&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/138205"&gt;@novinosrin&lt;/a&gt;! If not the page that &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger&lt;/a&gt;&amp;nbsp;shared, it could have been this blog post: &lt;A href="https://blogs.sas.com/content/sascom/2017/12/15/practical-approach-blockchain-analytics/" target="_blank" rel="noopener"&gt;A practical approach to blockchain&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 17:10:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/All-Things-Community/Hash-Functions-helps-in-understanding-Blockchains/m-p/536824#M3729</guid>
      <dc:creator>AnnaBrown</dc:creator>
      <dc:date>2019-02-19T17:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Hash Functions helps in understanding Blockchains?</title>
      <link>https://communities.sas.com/t5/All-Things-Community/Hash-Functions-helps-in-understanding-Blockchains/m-p/536829#M3730</link>
      <description>&lt;P&gt;Indeed that's the one!&amp;nbsp; Thank you mam&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/33307"&gt;@AnnaBrown&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For yours and overall interest &amp;amp; curiosity of others, one of my very good friend is working on a proof of concept(academic) on this very topic that leverages SAS as the main utility tool to be presented to a large traditional bank. I am pretty intrigued and let's see what he comes up.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers &amp;amp; Have a good day!&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 17:18:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/All-Things-Community/Hash-Functions-helps-in-understanding-Blockchains/m-p/536829#M3730</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2019-02-19T17:18:42Z</dc:date>
    </item>
  </channel>
</rss>

