hasher

package
v0.0.0-...-7a4c1ac Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ObjectHash

type ObjectHash struct {
	hash.Hash64
}

func NewFNVObjectHash

func NewFNVObjectHash() ObjectHash

func (*ObjectHash) GetHash

func (h *ObjectHash) GetHash() string

func (*ObjectHash) Reset

func (h *ObjectHash) Reset()

func (*ObjectHash) SumHash

func (h *ObjectHash) SumHash(a ...any) error

the hash is cumulative, so you can call Hash() multiple times with different values and the hash will be updated

func (*ObjectHash) SumHashStrings

func (h *ObjectHash) SumHashStrings(a ...string) error

Jump to

Keyboard shortcuts

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