title: Sha256 with pipe
body: <p>Step 5-6 of manual:
  <a href="https://en.bitcoin.it/wiki/Technical_background_of_Bitcoin_addresses" rel="nofollow noreferrer">https://en.bitcoin.it/wiki/Technical_background_of_Bitcoin_addresses</a></p>
  
  <p>Calculating sha256sum secondly:</p>
  
  <blockquote>
    <p>5 - Perform SHA-256 hash on the extended RIPEMD-160 result<br>
    445C7A8007A93D8733188288BB320A8FE2DEBD2AE1B47F0F50BC10BAE845C094 </p>
    
    <p>6 - Perform SHA-256 hash on the result of the previous SHA-256 hash<br>
    D61967F63C7DD183914A4AE452C9F6AD5D462CE3D277798075B107615C1A8A30</p>
  </blockquote>
  
  <p>I try to repeat step 6, but sha256sum is wrong:</p>
  
  <pre><code># echo -n 445C7A8007A93D8733188288BB320A8FE2DEBD2AE1B47F0F50BC10BAE845C094 | sha256sum
  7760845dcfd8c366ae89620be2f368d255d710bc7493628ca0dcded9ca476e5a  -
  # echo -n 445C7A8007A93D8733188288BB320A8FE2DEBD2AE1B47F0F50BC10BAE845C094 | openssl sha256 
  (stdin)= 7760845dcfd8c366ae89620be2f368d255d710bc7493628ca0dcded9ca476e5
  </code></pre>
  
  <p>even this wrong too:</p>
  
  <pre><code># echo 445C7A8007A93D8733188288BB320A8FE2DEBD2AE1B47F0F50BC10BAE845C094 | openssl sha256 
  (stdin)= 9edec8be4a03dd9e605f465c60ae4c77c752516f58384016c6c7384028b39f6e
  </code></pre>
  
  <p>I have read this:
  <a href="https://stackoverflow.com/questions/3358420/generating-a-sha256-from-the-linux-command-line">Generating a sha256 from the Linux command line</a></p>
  
  <p>How to get: D61967F63C7DD183914A4AE452C9F6AD5D462CE3D277798075B107615C1A8A30?</p>
  
  <p>Is wiki wrong?</p>