/sha256_golang

Go SHA-256 from-scratch implementation

Primary LanguageGoGNU General Public License v3.0GPL-3.0

About

This project consists in a from scratch implementation of SHA-256 algorithm. That's also a rewriting of another one of my side project, which is a Rust from scratch implementation of SHA-256.

As an example of how to use this package, a basic version of sha256sum can be run.

How to install

go install github.com/danieldidiobalsamo/sha256_golang@latest
$GOPATH/bin/sha256_golang <filepath>

How to run from the code

go run . <filepath>