Mac OS X: how to generate md5 sha1 sha256 checksums from command line








  • Calculate MD5 checksum:
    md5 /tmp/1.iso
    
  • Calculate SHA-1 checksum:
    shasum -a 1 /tmp/1.iso
    
  • Calculate SHA-256 checksum:
    shasum -a 256 /tmp/1.iso
    



13 comments:

  1. thank you for posting this! saved me a lot of time browsing man pages ;)

    ReplyDelete
  2. Informative article, just what I was looking for. Thank you so much for taking the time for you personally to share such a nice info.
    ________________________
    Corel painter for Mac

    ReplyDelete
  3. I came here from google search. Thanks for the help

    ReplyDelete
  4. Made my life easier being able to do this on MacOS !Windows. Tx.

    ReplyDelete
  5. Thank you for sharing this information. Much appreciated!

    ReplyDelete