hash

package
v0.0.0-...-b4fbdbd Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2024 License: Apache-2.0 Imports: 5 Imported by: 177

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func String

func String(pieces ...any) string

Types

type Sig

type Sig [sha1.Size]byte

func FromString

func FromString(str string) (Sig, error)

func Hash

func Hash(pieces ...any) Sig

func (*Sig) String

func (sig *Sig) String() string

func (*Sig) Truncate64

func (sig *Sig) Truncate64() int64

Truncate64 returns first 64 bits of the hash as int64.

Jump to

Keyboard shortcuts

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