See also another post, found here on SN, on the SHA-256 topic:
What Is SHA-256? An Excellent & Deep Explanation of Bitcoin's Hashing Algorithm #81043 https://blog.boot.dev/cryptography/how-sha-2-works-step-by-step-sha-256/