hash

package
v0.0.0-...-ad5b1a2 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hash

type Hash interface {
	// Write adds data to the hash function state.
	io.Writer

	// Size returns the length of the slice Sum will return
	Size() int

	// Size returns the internal block size of the hash function
	BlockSize() int

	// Sum returns the hash of the data previously added with Write.
	Sum() []byte

	// Reset resets the Hash to its initial state, ready to calculate another, unrelated hash
	Reset()
}

Jump to

Keyboard shortcuts

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