Implementing SHA-256 in Go language (with strings)

I have put off doing anything in Go for a very long time. I had went through the Go tour a long time ago, but I hadn’t actually made anything in it. I mean, I did make a website(not complete yet ofc) in Hugo, which is a web framework made with Go, but it didn’t feel like writing actual Go code. So to scratch this itch, i decided to finally write some Go code.

And I chose to implement SHA-256 algorithm with it. Since I joined the Hack Club community, I have been very motivated to do such small little experiments, just for fun. It always feels good to finish a small challenge that you’ve set for yourself.

I used this Qvault: How SHA-256 works guide for the algorithm, but there were some other ver useful links that I used, which are listed below:

Challenges I faced:

Lessons learnt:

What I want to do next: