2 examples for shasum

{{ score }}
  # Gets the sha256 sum of a file
shasum -a 256 filename.txt
        
{{ score }}
  # Check SHA of a single file
# Need to quote and use 2 spaces between hash and filename
#
# You can make a file with format 'hash1  file1\nhash2  file2...'
# and pass that to '-c' flag
echo '2de2d25f2d7bb970e31f99a81d6c13063604acb6  myfile.txt' | shasum -c -