checksum

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Length = 4

Variables

This section is empty.

Functions

func Extract

func Extract(m []byte) ([]byte, []byte, error)

Extract message and checksum from buffer.

func Generate

func Generate(m []byte) []byte

Generate a blake2b Sum256 digest.

func Verify

func Verify(m []byte, checksum []byte) bool

Verify blake2b Sum256 digest.

Types

This section is empty.

Jump to

Keyboard shortcuts

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