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
    



14 comments: