hash

package
v4.75.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hash

func Hash(content any) string

func String

func String(value string) string

Types

type StreamHasher

type StreamHasher struct {
	// contains filtered or unexported fields
}

func Stream

func Stream() StreamHasher

func (StreamHasher) Sum

func (s StreamHasher) Sum() string

func (StreamHasher) Write

func (s StreamHasher) Write(o any) StreamHasher

func (StreamHasher) WriteBytes

func (s StreamHasher) WriteBytes(o []byte) StreamHasher

func (StreamHasher) WriteString

func (s StreamHasher) WriteString(o string) StreamHasher

Jump to

Keyboard shortcuts

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