title: using Go linter with security issue
body: <p>we use the following lib</p>
  <p><code>import &quot;crypto/sha1&quot;</code></p>
  <p>while running golangci-lint we got the following errors :</p>
  <pre><code>G505: Blocklisted import crypto/sha1: weak cryptographic primitive (gosec) for &quot;crypto/sha1&quot;
  
  
   G401: Use of weak cryptographic primitive (gosec)
          sha := sha1.New()
  </code></pre>
  <p>Is there is something that I can do without excluding them? not sure that I understand those issues. if it was not related to security it's simple tasks to exclude ...</p>
  <p><strong>update</strong></p>
  <p><strong>what we are doing is</strong></p>
  <pre><code>fdrContent, err := ioutil.ReadFile(filepath.Join(path))
  // gets the hashcode of the FDR file
  h := sha1.New()
  code, err := h.Write(fdrContent)
  return code, err
  </code></pre>