title: Hashing with SHA1 Algorithm in C#
body: <p>I want to hash given <code>byte[]</code> array with using <code>SHA1</code> Algorithm with the use of <code>SHA1Managed</code>.<br/>
  The <code>byte[]</code> hash will come from unit test. <br/>
  Expected hash is <code>0d71ee4472658cd5874c5578410a9d8611fc9aef</code> (case sensitive).</p>
  
  <p>How can I achieve this?</p>
  
  <pre><code>public string Hash(byte [] temp)
  {
      using (SHA1Managed sha1 = new SHA1Managed())
      {
  
      }
  }
  </code></pre>