Convert Go code to C code, link it with CGO

Job ID: 36130201

Budget: $10 – $30 USD

Hello, I have some SHA256 code in Go. About ~100 lines of code. I need you to write it in C and integrate it using CGO. You can feel free to use ChatGPT for most of the tedious conversion part.
Related categories: C Programming Software Architecture