On my Mac with Mavericks I discovered there’s a program called shasum which seems to be the same thing as sha1sum. I can use shasum on my Mac from a Terminal window and get the same checksum as using sha1sum on Linux.