hash

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2023 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// BlockSize is the preferred block size.
	BlockSize = 1
	// Size is the size of the checksum in bytes.
	Size = 2
)

Variables

This section is empty.

Functions

func New

func New() hash.Hash

New returns a new hash.Hash computing the checksum.

func NewInverted

func NewInverted() hash.Hash

NewInverted returns a new hash.Hash computing the inverted checksum.

Types

This section is empty.

Jump to

Keyboard shortcuts

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