hash

package
v4.64.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2023 License: MIT Imports: 5 Imported by: 5

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