appletree:~ somename$ shasum -a 512 <<< test
And the output is:
Then I go to some online hash generators and enter "test" too. Their answers are:
So the online generators agree. What am I missing in the Mac console command?
I was reading the
man pages. I see it's implemented using a Perl library. However, I think sha512 would be a unique designation, so I have to dig deeper.
There seems to be a duplicate question: Why is my command-line hash different from online MD5 hash results?. While the other question is in the same context, which is unexpected whitespace, it emerges from a different situation.