A simple sha256 implementation in C