Checking sha256 checksum
Solution 1:
Putting an asterisk before the file name tells shasum
to treat the file as binary if the system supports this. Id the file should be treated as text file you use a single blank instead.
Linux doesn't make a difference between binary and text files so it doesn't matter which one you use, but you can't leave it out.
So you have to use
<hash> <filename>
with two blanks after the hash: One blank that separates the hash from the filename and one blank for text mode.