sha256_algo

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

This package provides a from scratch SHA256 implementation

You can directly provide file content to Sha256 function, for example :

body, _ := os.ReadFile("./sample_files_for_testing/sample.pdf")
hash := Sha256(body)

check main package to see a basic version of sha256sum as an example

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sha256

func Sha256(rawMsg []byte) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL