On 15 Jan 2014, at 12:10, Paolo Bonzini wrote: > Il 15/01/2014 13:09, Alex Bligh ha scritto: >>>> Nope. There is shasum (because perl provides it) and md5 >>>> (not md5sum). >> shasum -a 256 should produce the same output as sha256sum >> >> From the manpage: >> >> Since shasum uses the same interface employed by the familiar sha1sum >> program (and its somewhat outmoded anscestor md5sum), you can install >> this script as a convenient drop-in replacement. > > The exact hash we use is not a problem, we're not looking for crypto safety.
I phrased that badly. I meant same output for the same calling convention, so surely just replacing 'sha256sum' with 'shasum -a 256' is going to work fine on all systems? -- Alex Bligh