hash

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: AGPL-3.0 Imports: 2 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Zero256 = make([]byte, 32)

Functions

func Sum

func Sum(hashAlgorithm crypto.Hash, hashes ...[]byte) []byte

Sum hashes together arbitary data units

func Sum256

func Sum256(data []byte) []byte

Sum256 returns the SHA256 checksum of the data using the MessageHash augmented hashing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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