[EN] Implementation of the SHA-256 hash algorithm
[FR] Implémentation de l'algorithme de hash SHA-256
- go v1.14
CLI:
go test -v ./test
CODE:
import "github.com/coursecomputer/SHA256/source"
var sha256 = SHA256.Init()
sha256.Update([]byte("..."))
hash := sha256.Digest()