Pure Standard-C++ SHA-2 hash algorithm implementation.