title: SHA1 encoding in Haskell
body: <p>I have a list of filepaths and want all these files to store as sha1 encoded hash in a list again. It should be as general as possible, so the files could be text as well as binary files. And now my questions are:</p>
  
  <ol>
  <li>What packages should be used and why?</li>
  <li>How consistent is the approach? With that I mean: if there could be different results with different programs using sha1 for encoding itself (e.g. sha1sum)</li>
  </ol>