Added C crypto.c for digestSha256