I'll do my best to describe my predicament.
I'm writing a python script that will take an input file and perform a SHA-256 hash on it.
If I take the raw binary image and run it through the command prompt (on my mac: shasum -a 256 somefile.bin), I get the 'correct' digest: 'bda1ca...'
I've run this binary through an online calculator and get the same result.
If I open this hash in a hex editor, extract all of the bytes into my clipboard and paste them into a SHA256 calculator I get a different result: '689035...'
What am I missing here? I've tried upper/lower cash, spaces between each byte. I'm not sure what else to try.
This problem started because I'm implementing this in Python, but before I even worry about the code I'm trying to understand why this is different.