checksum

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateChecksum

func CalculateChecksum(data string) []byte

CalculateChecksum calculates a Blake2b 256 bit checksum of the passed data and returns it as a []byte.

func Equals added in v0.2.2

func Equals(ch1, ch2 []byte) bool

Equals compares checksums passed in as []byte and returns true if they are equal, false otherwise.

Types

This section is empty.

Jump to

Keyboard shortcuts

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