Skip to main content

All Questions

Tagged with
1 vote
2 answers
2k views

How to transparently substitute sha1sum for shasum in sh shell?

I have a test that needs to run on multiple platforms. On all other platforms, the test uses sha1sum, but on my Mac OSX El Capitan, there is no such program installed, but shasum works fine as a ...
WilliamKF's user avatar
  • 7,968
0 votes
1 answer
2k views

md5pass or sha1pass on mac os

I'm looking for a hash tool on MacOS (shell), hope it works like md5pass on Ubuntu. Calculate case sensitive hash code. Calculate salted hash code. md5 is good, any other algorithm is ok. I ...
Doug Hou's user avatar
  • 273
5 votes
1 answer
7k views

Alternative to xxd that returns bytes?

I am on Mac OS X 10.8.2, running a compiled copy of xxd v1.10 (source code) as well as the copy of xxd that comes preinstalled on OS X. I am trying to generate a Base64-encoded SHA1 signature via a ...
Alex Reynolds's user avatar
0 votes
1 answer
1k views

Calculate SHA1 of CD-ROM on MacOS X

How do you calculate the sha1 of a CD-ROM disc under MacOS X? On Linux (RedHat) I use sha1sum /dev/cdrom. How do I do the same thing on Mac using openssl sha1?
Stuie Norris's user avatar