Will take a look. Is that md5 for uploaded files/spiffs files?
For uploaded scketch for OTA, but you could use it for hash every file you upload.
Ah ok. I've got all that sorted. I'm trying to hash the actual sketch. The running one.
Well I've done it. And it works.
That way u can compare an incoming binary to the running one without having to specify versions and defines, and commit hashes and all sorts that gets complicated.
I just need to verify and change on thing. And check this sketch size issue. As the sketch size needs to return the same size as the binary on the computer. Not the aligned one. As the hash function needs this same size.