title: Are Checksums for a file same in windows and Linux?
body: <p>I am creating a Sha1 checksum for an apk file in Mac as well as windows. I use the same file while in mac I use this</p>
  
  <pre><code>cat AppName.apk |openssl dgst -binary -sha1 | openssl base64 | tr '+/' '-_' |tr -d '=' 
  // I get 7pF3C4YCqMHKXOzOep_DW1feJxE
  </code></pre>
  
  <p>In Windows I use various methods mentioned <a href="https://superuser.com/questions/245775/is-there-a-built-in-checksum-utility-on-windows-7">here</a> and all of them generate the same checksum.</p>
  
  <pre><code>ee91770b8602a8c1ca5cecce7a9fc35b57de2711
  </code></pre>
  
  <p>Why is it different if it is sha1 hash of the same file? or the hash can be both of this? I am confused here. Can anyone explain?</p>