This sha256 calculator is made as a training project. I used the wikipedia description as a starting point to make the sha256 code.
Microsoft Visual Studio Community 2022 (64-bit) - Preview Version 17.6.0 Preview 1.0 has been used writing the code.
Check HashTest.cpp on how to use the code.
In short
#include "Sha256.h"
HashLib::Sha256 sha256("TheStringToHash");and you are good to go.