sha256

package
v1.0.45 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckHash added in v0.0.7

func CheckHash(dataByte []byte, expectedHashHex string, minExpectedHashHexLen int) (bool, string)

func Hash

func Hash(src []byte, rounds int) []byte

func HashHex

func HashHex(src []byte, rounds int) string

func SHA256File added in v1.0.0

func SHA256File(filename string) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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