hashutil

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsStdHash

func IsStdHash(hash string) bool

func NewStdHash

func NewStdHash() hash.Hash

Types

type TeeHasher

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

func NewTeeHasher

func NewTeeHasher(w io.Writer, h hash.Hash) *TeeHasher

func (*TeeHasher) SumString

func (h *TeeHasher) SumString() string

func (*TeeHasher) Write

func (h *TeeHasher) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

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